Bug 73246 (XIM68589) - Calling the AddMember web service method with already existing member ID's adds them as duplicates
Summary: Calling the AddMember web service method with already existing member ID's ad...
Status: VERIFIED FIXED
Alias: XIM68589
Product: iFolder Denali
Classification: iFolder
Component: Simias (show other bugs)
Version: iFolder Denali
Hardware: Other All
: P5 - None : Normal
Target Milestone: Beta 3
Assignee: Mike Lasky
QA Contact: Jared Allen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 19:33 UTC by Scott Reeves
Modified: 2005-05-16 15:16 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Allen 2005-03-16 18:03:01 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".

Comment 1 Scott Reeves 2005-05-16 15:16:10 UTC
Verified in RC2