You are here: Foswiki>Tasks Web>Item11373 (20 Dec 2011, GeorgeClark)Edit Attach

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

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: FoswikiUsers, TopicUserMappingContrib
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
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 distro:fcc75def70d4 distro:017aa8cea608 distro:63b0289c1b47 distro:80410ad5b39c
TargetRelease patch
ReleasedIn 1.1.4
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:017aa8cea608 distro:80410ad5b39c
Release01x01Checkins distro:fcc75def70d4 distro:63b0289c1b47
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy