[
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.