-
Bug
-
Resolution: Done
-
Minor
-
openshift-4.9
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
ODC Sprint 205, ODC Sprint 206, ODC Sprint 207
-
Low
Description of problem:
When the user edit a deployment (via "Edit Deployment" or "Edit DeploymentConfig", not "Edit <application-name>") and changes the strategy type to the current value the sub-form data are removed.
If the user switches to another type and then back to the previously selected type, the form data are replaced with the default (always none?) configuration as well.
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
- Switch to developer perspective, add page, import from git
- Enter a git URL and create the Deployment
- Right click the Deployment in topology and select "Edit Deployment"
- Change "Strategy type" via the dropdown
Actual results:
- When switching "Strategy type" to the current value the sub form is cleared. (Rolling Update has some sub configurations.)
- When switching "Strategy type" to another value and then back also cleared the current values. (Switching from Rolling Update to Recreate and back for example.)
Expected results:
- When switching "Strategy type" to the current value the sub form should keep its data.
- When switching "Strategy type" to another value and then back the latest values should be restored again (latest input from the user, not the initial values).
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9 (tested with console commit 10da2737b412748a75ca1c9e38eb14b83b71cab6)
Additional info:
None