Issue Summary
API : Updating Programs via PUT call results in isActive property set to "null" instead of "1"
Steps to Reproduce
- In order to create a new Program, make a POST call to /programs endpoint
- By using the same JSON request body, make a PUT call to /programs endpoint
- Notice the Program will get its isActive property set to "null" instead of "1"
- That render the Program "de-activated" in UI & in API, hence not displaying in Configuration bar filter options as well as on some dropdowns (e.g. Value Stream's slide-out details panels)
Expected Results
- The Program gets updated in accordance to the values sent in the request body
- The Program remains active or as-is (isActive property is hardcoded to "1" in POST source code; it is set to "0" when deleted)
Actual Results
- The Program gets updated in accordance to the values sent in the request body and its isActive property is set to "null"
- PdM to confirm
- Engineering to confirm
Workaround
- Use the PATCH method instead of PUT
- Engineering to confirm