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

uniqueMemberComparator does not compare DN properly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 2.0.0.AM2
    • Fix Version/s: 2.0.0.AM3, 1.0.4
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: