Details
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
- Step 1: Spin-up Crowd and create a sample application in the UI.
- 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
- 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.