Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 43527 invoked from network); 24 Mar 2009 20:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 20:18:20 -0000 Received: (qmail 28571 invoked by uid 500); 24 Mar 2009 20:18:19 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 28498 invoked by uid 500); 24 Mar 2009 20:18:19 -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 28490 invoked by uid 99); 24 Mar 2009 20:18:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 20:18:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 20:18:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76AD9234C003 for ; Tue, 24 Mar 2009 13:17:50 -0700 (PDT) Message-ID: <1299570172.1237925870471.JavaMail.jira@brutus> Date: Tue, 24 Mar 2009 13:17:50 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSHARED-30) LdapDN.startsWith(javax.naming.Name) fails for javax.naming.ldap.LdapName In-Reply-To: <1081836984.1237922451073.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSHARED-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSHARED-30. ---------------------------------------- Resolution: Fixed Fix Version/s: 0.9.14 Fixed in : ttp://svn.apache.org/viewvc?rev=757997&view=rev Thanks for the report ! > LdapDN.startsWith(javax.naming.Name) fails for javax.naming.ldap.LdapName > ------------------------------------------------------------------------- > > Key: DIRSHARED-30 > URL: https://issues.apache.org/jira/browse/DIRSHARED-30 > Project: Directory Shared > Issue Type: Bug > Affects Versions: 0.9.12 > Reporter: Joerg Schaible > Assignee: Emmanuel Lecharny > Fix For: 0.9.14 > > > assertTrue("Starting DN fails with ADS LdapDN", new LdapDN("ou=foo,dc=apache,dc=org").startsWith(new LdapDN("dc=apache,dc=org"))); > assertTrue("Starting DN fails with Java LdapName", new LdapDN("ou=foo,dc=apache,dc=org").startsWith(new LdapName("dc=apache,dc=org"))); > ==> second assertion fails, calculates internally wrong offset for RDNs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.