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

HTTP GET to uma/auditHistory with param "sortKeys=-eventTime" returned 500 server error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 13.0.0
    • Fix Version/s: 13.0.0
    • Component/s: UMA
    • Environment:
      Ubuntu 14 64-bit, Tomcat 7, OpenAM 13.0.0 build Oct 2, 2015

      Description

      • Configure OAuth2 provider, UMA providers, and OAuth2 agent (aka RS).
      • Create resource_set myDevice for user Alice and RS.
      • Authenticate to Alice's account on OpenAM.
        • Browse to Resources > myDevice and share with Bob.
        • Browse to history: you can see the history of this sharing.
        • Broswe to Resources > myDevice and shared with Ted.
        • Browse to history: nothing shows.

      Checking HTTP trace shows that the following GET request receives 500
      http://openam.example.com/openam/json/users/Alice/uma/auditHistory?_pageSize=10&_sortKeys=-eventTime&_queryFilter=true&_pagedResultsOffset=0

      and that's because of "_sortKeys=-eventTime" param when there's more than one item in history.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phillcunnington Phill Cunnington
                Reporter:
                hahmadi hadi hahmadi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: