Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-340

uniqueMemberComparator does not compare DN properly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.3, 2.0.0.AM2
    • 2.0.0.AM3, 1.0.4
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel L├ęcharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: