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:20:00 UTC

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

     [ https://issues.apache.org/jira/browse/DIRAPI-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRAPI-340.
--------------------------------------
    Resolution: Fixed

Fixed in both 1.0 and 2.0 versions

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