Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 11118 invoked from network); 24 Jun 2006 13:58:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jun 2006 13:58:01 -0000 Received: (qmail 1295 invoked by uid 500); 24 Jun 2006 13:58:00 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 1252 invoked by uid 500); 24 Jun 2006 13:58:00 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 1241 invoked by uid 99); 24 Jun 2006 13:58:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jun 2006 06:58:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jun 2006 06:57:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9891C7141E9 for ; Sat, 24 Jun 2006 13:56:30 +0000 (GMT) Message-ID: <1809901.1151157390622.JavaMail.jira@brutus> Date: Sat, 24 Jun 2006 13:56:30 +0000 (GMT+00:00) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-202) Order of multi-valued RDN should not matters while comparing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-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. AttributeType are > * not case sensitive. Each attribute type MUST be compared. Order MUST not > * matters They MUST be equals. > * > * @throws NamingException if anything goes wrong. > */ > public void testInsensitiveTypeMultiValuedAttributNotOrdered() 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/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira