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

HTTP 500 error when trying v3.1 /sessions in API explorer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.0, 6.0.1, 5.5.2
    • Component/s: rest
    • Labels:
    • Environment:
      ForgeRock Access Management 6.5.0-SNAPSHOT Build 3097c3a4f4 (2018-October-08 08:36)
    • Needs backport:
      Yes
    • Verified Version/s:
    • Functional tests:
      No

      Description

      Bug description

      When trying these endpoints in the API explorer under http://openam.example.com:8080/openam/XUI/#api/explorer/sessions:

      • /sessions#2.1_query_filter
      • /sessions#3.1_query_filter

      with _queryFilter=true, I get HTTP 500 errors.

      For example:

      How to reproduce the issue

      1. Set up with the default configuration.
      2. Login as amadmin.
      3. Open the API explorer.
      4. Navigate to http://openam.example.com:8080/openam/XUI/#api/explorer/sessions.
      5. Try the endpoints with _queryFilter=true.
      Expected behaviour

      Successful response listing open sessions.

      Current behaviour

      HTTP 500 errors.

      It appears that the request URL is missing the realm in the root, e.g. /json/realms/root/sessions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kajetan.hemzaczek Kajetan Hemzaczek
                Reporter:
                Mark Mark Craig
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: