You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/04/30 19:07:00 UTC

[jira] [Commented] (DIRAPI-340) uniqueMemberComparator does not compare DN properly

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

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

Fixed in 1.0.4-SNAPSHOT with commit f995af78cca156071ab30f00a6615bd82911c4a1

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