Issue Summary
Using the API, all Program IDs can be removed from a Solution Objective. This is inconsistent with the UI (at least one Program ID is required) and causes Solution level OKR reports to not show.
Steps to Reproduce
- Create a Solution objective through the UI.
- Notice the Program field is auto-populated with all programs under the Solution.
- Attempt to remove all Programs and notice the modal not allowing you to save the Solution objective with no programs.
- Create a Solution objective through the API.
- Use get call to view the Objective JSON and notice all of the program Ids.
- Use a put or patch to remove all program Ids.
Expected Results
The API should not allow you to remove all program Ids on a Solution objective (validation should exist requiring at least one).
Actual Results
The API should not allow you to remove all program Ids on a Solution objective. When this occurs, solution level Objective reports are not accessible.
Workaround
Do not remove all Program IDs on a Solution ID (there always needs to be at least one).
- mentioned in
-
Page Loading...