directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Resolved: (DIREVE-241) Adding an already existing attribute value with a modify operation does not cause an error.
Date Mon, 12 Sep 2005 15:42:32 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-241?page=all ]
     
Alex Karasulu resolved DIREVE-241:
----------------------------------

    Fix Version: 0.9.3
     Resolution: Fixed

Committed in revision 289356 here:

http://svn.apache.org/viewcvs.cgi?view=rev&rev=280356 

> Adding an already existing attribute value with a modify operation does not cause an
error.
> -------------------------------------------------------------------------------------------
>
>          Key: DIREVE-241
>          URL: http://issues.apache.org/jira/browse/DIREVE-241
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.3
>     Reporter: Stefan Zoerner
>     Assignee: Alex Karasulu
>      Fix For: 0.9.3
>  Attachments: ModifyAddTest.java
>
> If you try to add an attribute value which is already present within the entry, no error
occurs.
> After the execution of the modify operation, the value appears twice in the entry instead.
> As a consequence, it is possible for instance to create an entry like this:
> ---
> dn: cn=Stefan Zoerner,ou=users,ou=system
> sn: Zoerner
> objectClass: top
> objectClass: top
> objectClass: person
> cn: Stefan Zoerner
> ---
> Expected behavior is error code 20, which indicates that the attribute value specified
in a modify or add operation already exists as a value for that attribute.
> I will add a test case as usual which demonstrates the bug with a person entry.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message