Apache Directory Project - [jira] Resolved: (DIRLDAP-57) LdapName comparison is bugged for Compound Names

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2005 > [jira] Resolved: (DIRLDAP-57) LdapName comparison is bugged for Compound Names





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (DIRLDAP-57) LdapName comparison is bugged for Compound Names
Emmanuel Lecharny (JIRA)

2005-09-29, 8:45 pm

[ http://issues.apache.org/jira/brows...DAP-57?page=all ]

Emmanuel Lecharny resolved DIRLDAP-57:
--------------------------------------

Resolution: Fixed
Assign To: Emmanuel Lecharny

Just changed the comparizon form something like compare( obj0, obj0) to compare(obj0, obj1)

> LdapName comparison is bugged for Compound Names
> ------------------------------------------------
>
> Key: DIRLDAP-57
> URL: http://issues.apache.org/jira/browse/DIRLDAP-57
> Project: Directory LDAP
> Type: Bug
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Minor


>
> The following test works well :
> Name name1 = new LdapName( "cn=HomeDir+cn=Workdir" );
> Name name2 = new LdapName( "cn=Work+cn=HomeDir" );
> if ( name1.compareTo( name2 ) ) == 0 )
> {
> // This should not occurs
> }
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com