directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSHARED-30) LdapDN.startsWith(javax.naming.Name) fails for javax.naming.ldap.LdapName
Date Wed, 06 May 2009 16:37:50 GMT

     [ https://issues.apache.org/jira/browse/DIRSHARED-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSHARED-30.
--------------------------------------


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


Mime
View raw message