directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-700) Adding an entry with two description attributes does not combine values, if attribute values are seperated
Date Tue, 08 Aug 2006 04:33:20 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-700?page=all ]

Alex Karasulu closed DIRSERVER-700.
-----------------------------------

    Fix Version/s: 1.1.0
                   1.0-RC4
       Resolution: Fixed

Commits for fix on 1.0 branch:

429563
429565

For 1.1 branch:

429566
429567

> Adding an entry with two description attributes does not combine values, if attribute
values are seperated
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-700
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-700
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3, 1.0-RC4
>         Environment: * ApacheDS 1.0 RC4 SNAPSHOT
> * Netscape LDAP SDK for Java 4.1
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2
>            Reporter: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.1.0, 1.0-RC4
>
>         Attachments: AddDupplicateAttributeTest.java
>
>
> Here is a variant of DIRSERVER-643 (already resolved): 
> If the attribute set is created like this:
> ...
> LDAPAttributeSet attrs = new LDAPAttributeSet();
> LDAPAttribute ocls = new LDAPAttribute("objectclass", new String[] { "top", "person"
});
> attrs.add(ocls);
> attrs.add(new LDAPAttribute("sn", "Bush"));
>         
> String descr[] = {
>    "a British singer-songwriter with an expressive four-octave voice",
>    "one of the most influential female artists of the twentieth century" };
>         
> attrs.add(new LDAPAttribute("description", descr[0]));
> attrs.add(new LDAPAttribute("cn", "Kate Bush"));
> attrs.add(new LDAPAttribute("description", descr[1]));
> ...  
> The entry which is created afterwards still misses one of the description values.
> I attach a JUnit test case which contains the old test case and two variants -- one of
them (testAddEntryWithTwoDescriptionsSecondVariant) fails with the current 1.0 branch. I have
checked the test case with IBM Tivoli Directory Server 6.0 and Sun Java System Directory Server
5.2 -- with both servers the test case passed completely.    

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