Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5885

Crowd updateApplication REST API endpoint does not work as expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.3.10, 5.2.0, 5.0.4, 5.1.1
    • 4.4.0, 4.4.1, 4.4.2, 5.0.0, 5.0.1, 4.4.3, 5.0.2, 5.0.3
    • REST
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              e5b980069724 Rostyslav Shurukhin
              e5b980069724 Rostyslav Shurukhin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: