Crowd updateApplication REST API endpoint does not work as expected

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.3.10, 5.2.0, 5.0.4, 5.1.1
    • Affects Version/s: 4.4.0, 4.4.1, 4.4.2, 5.0.0, 5.0.1, 4.4.3, 5.0.2, 5.0.3
    • Component/s: REST
    • None
    • 1
    • Severity 3 - Minor
    • 27

      Issue Summary

      Updating a Crowd application through the /rest/appmanagement/1/application/{applicationId} endpoint fails with an error code of 500 and a NullPointerException.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Step 1: Spin-up Crowd and create a sample application in the UI.
      2. Step 2: Obtain an XML or JSON form of an application by making a GET request to /rest/appmanagement/1/application/{applicationId} where applicationId is the ID of the application
      3. Step 3: Make a PUT request to /rest/appmanagement/1/application/{applicationId} endpoint using the payload obtained in step 2 as the body

      Expected Results

      The application is successfully updated.

      Actual Results

      The update fails with an error code of 500.

      Workaround

      Application configuration can be updated using the Crowd UI or the user authenticated /rest/admin/1.0/application/{applicationId} endpoint.

            Assignee:
            Rostyslav Shurukhin (Inactive)
            Reporter:
            Rostyslav Shurukhin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: