Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item9850: Change expand option to Options hash { EXPAND => }

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine Func, Mappers Main.GeorgeClark
The Group API was changed to pass a true/false parameter to expand nested groups. This is short sighted and makes it more difficult to add / use other options, such as checking or not checking for user / group existence.

Change the $expand parameter from a simple boolean parm to an options hash

   { 
     EXPAND => <true/false }
   }

Marking urgent since this is part of the API,that will be initially released in 1.1.1, we should get it right.

-- GeorgeClark - 20 Oct 2010

Per Babar's recommendation, and consistent with other functions, the options hash should use lower case options - renamed to "expand".

-- GeorgeClark - 21 Oct 2010
 

ItemTemplate edit

Summary Change expand option to Options hash { EXPAND => }
ReportedBy GeorgeClark
Codebase 1.1.0
SVN Range
AppliesTo Engine
Component Func, Mappers
Priority Urgent
CurrentState Closed
WaitingFor GeorgeClark
Checkins Foswikirev:9657 Foswikirev:9658 Foswikirev:9662 Foswikirev:9663
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r8 - 25 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License