Description
Issue Summary
When updating Program's portfolioId via API, its Solution does not get cleared, resulting in a duplicate in Tier 1 filter.
Steps to Reproduce
- Create a program
- put it in a Solution/Capabilities enabled Portfolio
- Select Solution parent
- Save
- Use Patch to replace only portfolioId with a Portfolio that is NOT solution enabled
- Refresh and check out Tier 1 filter - see that the Program appears under the old Portfolio and the new Portfolio
Expected Results
When updating a Program's Portfolio in UI, it clears the solutionId field. No duplicates are seen.
Actual Results
The solutionId field is not cleared when updating via API, resulting in duplicates showing in Tier 1 filter.
Workaround
Change the portfolio in UI.