Bug 2261938

Summary: UI: unselected option should remain same after navigating back
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Vijay Avuthu <vavuthu>
Component: management-consoleAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Vijay Avuthu <vavuthu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.15CC: amagrawa, nthomas, odf-bz-bot, skatiyar, tnielsen
Target Milestone: ---   
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.16.0-77 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:12:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vijay Avuthu 2024-01-30 12:53:41 UTC
Created attachment 2014028 [details]
deselected option was erased after navigating back

Description of problem (please be detailed as possible and provide log
snippests):

In UI, unselected option should remain same after navigating back


Version of all relevant components (if applicable):

ocs-registry:4.15.0-120


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No

Is there any workaround available to the best of your knowledge?
Yes

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1/1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
Not sure

Steps to Reproduce:
1. Install ODF using ocs-ci
2. In UI, create storage system ( external )
     - Unselect Set Ceph RBD as the default StorageClass
     - Click on Next
     - Browse json file and click on Next
     - Click Back and again Back

3. Check the intial option which was unselected in step 2 was selected again


Actual results:

Options which was selected/de-selected was erased and set to defaults


Expected results:

Since I am navigating back to double check what options I selected/unselected, expecting the same should remain.


Additional info:

Comment 2 Sanjal Katiyar 2024-01-30 15:25:07 UTC
non-blocker, moving to 4.16 release...

Comment 4 Sanjal Katiyar 2024-01-30 15:30:49 UTC
(In reply to Sanjal Katiyar from comment #2)
> non-blocker, moving to 4.16 release...

Idea was for this step to auto-select this checkbox if default StorageClass is not present in the cluster. Therefore, once you click "Back" and navigate back to step-1 of the wizard flow, checkbox gets auto-clicked (again). As a workaround we can simply un-select it (if needed) and move forward as normal. Will fix as part of 4.16 release.

Comment 6 Nishanth Thomas 2024-01-30 18:03:25 UTC
I don't think its a blocker as there is a reasonable workaround exists.  We will address this in the next release

Comment 7 Aman Agrawal 2024-01-30 18:32:56 UTC
ack

Comment 11 Vijay Avuthu 2024-04-29 13:31:34 UTC
Verified and didn't see any issue in UI when moving backward as well.

Comment 13 errata-xmlrpc 2024-07-17 13:12:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:4591