[
https://issues.apache.org/jira/browse/DIRSHARED-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny reassigned DIRSHARED-30:
------------------------------------------
Assignee: Emmanuel Lecharny
> 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
>
> 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.