New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

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

Priority: Urgent
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Component: Func, Mappers
Reported By: GeorgeClark
Waiting For: Main.GeorgeClark
Last Change By: KennethLavrsen
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 distro:64024caf67ed distro:469ddefe81a5 distro:8d5dcbe9b9ca distro:e64ac747c4ba
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r8 - 25 Oct 2010, KennethLavrsen - This page was cached on 23 Jun 2018 - 14:26.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy