You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2006/11/19 09:10:38 UTC

[jira] Updated: (DIRSERVER-783) Adding another value to an attribute results in the value to be added twice

     [ http://issues.apache.org/jira/browse/DIRSERVER-783?page=all ]

Stefan Zoerner updated DIRSERVER-783:
-------------------------------------

    Attachment: AddingAnotherValueToAnAttribute.java

I am not able to reproduce this error. We need more information.
Please check the attached test case. It creates an entry with a description and adds two other description values. Afterwards  the entry looks like it should:

$ ldapsearch -D "uid=admin,ou=system" -w ***** -p 10389 -s one -b "dc=example,dc=com" "(cn=Fiona Apple)"
dn: cn=Fiona Apple,dc=example,dc=com
description: an American singer-songwriter
description: Grammy award winning
description: MTV Music Award winning
objectclass: person
objectclass: top
sn: Apple
cn: Fiona Apple

What is the difference in your situation?

> Adding another value to an attribute results in the value to be added twice
> ---------------------------------------------------------------------------
>
>                 Key: DIRSERVER-783
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-783
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Ubuntu 6.06, Java 1.5, Jetspeed-2
>            Reporter: Ate Douma
>            Priority: Blocker
>         Attachments: AddingAnotherValueToAnAttribute.java
>
>
> If I add a new attribute to a class, its value is stored fine.
> But, if I thereafter add another value for the same attribute, this value is added twice.
> I encountered this with Jetspeed-2 ldap unit tests, but could then easily reproduce this with for instance LDAP Browser\Editor v.2.8.2

-- 
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