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

Issue when comparing multi-component RDNs caused by the RDN order

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.1.3
    • None

    Description

      When doing something like:

      ```
      Dn dn = new Dn( schemaManager, "cn=Kate+sn=Bush,ou=system" );
      Dn dn2 = new Dn( schemaManager, "sn=Bush+cn=Kate,ou=system" );

      assertEquals( dn, dn2 );
      ```

      the last check fails because the RDNs aren't internaly properly ordered while the DNs are parsed.

      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: