Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6774

Searches no longer return attributes in the order requested

    Details

    • Story Points:
      0
    • Support Ticket IDs:

      Description

      See:  OPENDJ-1082 Order attributes according to search request attribute list order

      Based on the above RFE, the order of the return attributes was sent in the order they were requested.  There is a regression in the behavior starting with version 6.5.0.

      Test: request attributes in the following order

      • mail givenName cn postalAddress

      6.0.0

      opendj; bin /$ ./status -V; echo; ./ldapsearch --port 1636 --useSsl --trustAll --bindDN "cn=Directory Manager" --bindPassword `cat passfile` --baseDN dc=example,dc=com uid=user.0  mail givenName cn postalAddress
      ForgeRock Directory Services 6.0.0
      Build 20180427160029
      --
                 Name                 Build number         Revision numberdn: uid=user.0,ou=People,dc=example,dc=com
      mail: user.0@example.com
      givenName: Aaccf
      cn: Aaccf Amar
      postalAddress: Aaccf Amar$01251 Chestnut Street$Panama City, DE 50369
      

      6.5.0 attributes are now sorted alphabetically.

      opendj; bin /$ ./status -V; echo; ./ldapsearch --port 1636 --useSsl --trustAll --bindDN "cn=Directory Manager" --bindPassword `cat passfile` --baseDN dc=example,dc=com uid=user.0  mail givenName cn postalAddress
      ForgeRock Directory Services 6.5.0
      Build 20181128095826dn: uid=user.0,ou=People,dc=example,dc=com
      cn: Aaccf Amar
      givenName: Aaccf
      mail: user.0@example.com
      postalAddress: Aaccf Amar$01251 Chestnut Street$Panama City, DE  50369

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              lee.trujillo Lee Trujillo
              Dev Assignee:
              Matthew Swift
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: