Bugzilla – Bug 73246
Calling the AddMember web service method with already existing member ID's adds them as duplicates
Last modified: 2005-05-16 15:16:10 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: 1. Obtain a UserID of a member of an iFolder (user1 in iFolder1) 2. Call the web service method AddMember with that user id (service.AddMember(iFolder1ID, user1ID, Rights); 3. The user will be added as a duplicate. When you list users1 iFolders it will show twice or when you list iFolder1's members it will show user1 twice Expected Results: Should not add duplicate. Either it should silently ignore adding existing members or it should throw an AlreadyMemberException. How often does this happen? Always. ------- Additional Comments From mlasky@novell.com 2004-10-27 14:27:51 ---- Code now throws a Simias.ExistException if the member already exists in the collection. It also now throws a Simias.NotExistException if the collection or roster cannot be found or if the user does not exist in the roster. ------- Bug moved to this database by jpallen@novell.com 2005-03-16 11:03 ------- This bug previously known as bug 68589 at http://bugzilla.ximian.com/ http://bugzilla.ximian.com/show_bug.cgi?id=68589 Originally filed under the iFolder (Denali) product and Simias component. Unknown version iFolder (Denali) in product iFolder (Denali). Setting version to "iFolder (Denali)". Unknown severity unknown. Setting to default severity "normal".
Verified in RC2