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
Return to search
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
Repository Revision Date User Message
ASF #292592 Fri Sep 30 00:46:19 UTC 2005 elecharny Fixed JIRA DIRLDAP-57
Files Changed
MODIFY /directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/name/LdapName.java

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 made changes - 30/Sep/05 09:47 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Assignee Emmanuel Lecharny [ elecharny ]
Status Open [ 1 ] Resolved [ 5 ]
Emmanuel Lecharny added a comment - 30/Sep/05 09:47 AM
fixed and tested.

Emmanuel Lecharny made changes - 30/Sep/05 09:47 AM
Status Resolved [ 5 ] Closed [ 6 ]
Alex Karasulu made changes - 07/Feb/06 02:41 PM
Component/s ldap [ 12310715 ]
Key DIRLDAP-57 DIRSERVER-244
Affects Version/s pre-1.0 [ 12310782 ]
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Fix Version/s pre-1.0 [ 12310782 ]