Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-15740

Document _fields is case sensitive

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.5.2.2
    • Fix Version/s: None
    • Component/s: rest
    • Labels:
    • Environment:
      AM Documentation
    • Support Ticket IDs:

      Description

      Bug description

      The documentation around Searching user identities  doesn't list that is case sensitive

      https://backstage.forgerock.com/docs/am/6.5/maintenance-guide/#rest-api-read-identity

      Use the _fields query string parameter to restrict the list of attributes returned. This parameter takes a comma-separated list of JSON object fields to include in the result:

      )

      How to reproduce the issue

      If you hit an end point such as 
      /openam/json/realms/root/realms/CustomerRealm/users/UserName?_fields=UiD

      If uid is a different case such as "uid" then this will fail to return a result. If you specify the uid correctly, such as below, then this will succeed. 

      /openam/json/realms/root/realms/CustomerRealm/users/UserName?_fields=uid

       

      Expected behaviour
      OPENAM-4136 listed this as a change in AM 12 
      
      Current behaviour
      The _fields arguments are case sensitive

      Work around

      Use the proper case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              william.hepler William Hepler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: