Item11373: Unable to add a member to a group when the new member is contained as a substring of an existing group member.

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine FoswikiUsers, TopicUserMappingContrib  
The addUserToGroup function will not add any user or group that is contained as a prefix in another member of the group.

  • Add JohnSmithson to the group - it works
  • Add JohnSmith to the group. The API reports success but the member is not added.

-- GeorgeClark - 19 Dec 2011

The regex that checks to avoid duplicate membership in a group was not delimited for either beginning or end of the name being added. So this also fails if the name is contained in any part of another name.

-- GeorgeClark - 19 Dec 2011
 

ItemTemplate edit

Summary Unable to add a member to a group when the new member is contained as a substring of an existing group member.
ReportedBy GeorgeClark
Codebase 1.1.4 RC2, 1.1.4 RC1, 1.1.4 beta2, 1.1.4 beta1, 1.1.3
SVN Range
AppliesTo Engine
Component FoswikiUsers, TopicUserMappingContrib
Priority Urgent
CurrentState Closed
WaitingFor
Checkins Foswikirev:13468 Foswikirev:13469 Foswikirev:13482 Foswikirev:13488
TargetRelease patch
ReleasedIn 1.1.4
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:13469 Foswikirev:13488
Release01x01Checkins Foswikirev:13468 Foswikirev:13482
Topic revision: r8 - 20 Dec 2011, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License