directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSHARED-30) LdapDN.startsWith(javax.naming.Name) fails for javax.naming.ldap.LdapName
Date Tue, 24 Mar 2009 19:20:51 GMT
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


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.


Mime
View raw message