Issue Details (XML | Word | Printable)

Key: DIRSERVER-244
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Emmanuel Lecharny
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

LdapName comparison is bugged for Compound Names

Created: 30/Sep/05 09:44 AM   Updated: 07/Feb/06 02:41 PM
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

Resolution Date: 30/Sep/05 09:47 AM


 Description  « Hide
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
}




  




 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Emmanuel Lecharny added a comment - 30/Sep/05 09:47 AM
Just changed the comparizon form something like compare( obj0, obj0) to compare(obj0, obj1)

Emmanuel Lecharny added a comment - 30/Sep/05 09:47 AM
fixed and tested.