[ 
https://issues.apache.org/jira/browse/DIRAPI-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830594#comment-16830594
 ] 

Emmanuel Lecharny commented on DIRAPI-340:
------------------------------------------

Fixed in 2.0 with comlmit 3a43134e1f102c839d56961690fae9eda3cc6c89

> uniqueMemberComparator does not compare DN properly
> ---------------------------------------------------
>
>                 Key: DIRAPI-340
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-340
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.3, 2.0.0.AM2
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0.AM3, 1.0.4
>
>
> The {{UniqueMemberComparator.compare()}} method is not properly implemented: 
> it compares two {{DN}}s but only return 0 (if. they are equals) or -1 (if 
> they aren't). That does not allow the server to browse an index properly. The 
> result is that searching for entries using an index on this attributes is 
> extremely likely to not work (unless being *very* lucky).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to