[jira] Closed: (DIRSERVER-202) Order of multi-valued RDN should not
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Closed: (DIRSERVER-202) Order of multi-valued RDN should not




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Closed: (DIRSERVER-202) Order of multi-valued RDN should not  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-24-06 06:11 PM

[ http://issues.apache.org/jira/brows...ER-202?page=all ]

Emmanuel Lecharny closed DIRSERVER-202:
---------------------------------------


done

> Order of multi-valued RDN should not matters while comparing
> ------------------------------------------------------------
>
>          Key: DIRSERVER-202
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-202
>      Project: Directory ApacheDS
>         Type: Bug

>   Components: ldap
>     Versions: pre-1.0
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: pre-1.0

>
> class org.apache.ldap.common.name.LdapName, method compareTo should return
 0 if we compare two RDN which contains multi-valued attributes like :
> cn=test+cn=result
> must be equals to
> cn=result+cn=test
> This is not the case. Here is a test case (to be added to class org.apache
.ldap.common.name.LdapNameTest) :
>     /**
>      * Test the equivalence of two DNs with multi-valued RDN. AttributeTyp
e are
>      * not case sensitive. Each attribute type MUST be compared. Order MUS
T not
>      * matters They MUST be equals.
>      *
>      * @throws  NamingException  if anything goes wrong.
>      */
>     public void  testInsensitiveTypeMultiValuedAttributNo
tOrdered() throws 
NamingException
>     {
>         Name name1 = new LdapName("cn=HomeDir+cn=WorkDir");
>         Name name2 = new LdapName("cn=WorkDir+cn=HomeDir");
>         assertEquals(name1.compareTo(name2), 0);
>     }

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register