Bug 2261938 - UI: unselected option should remain same after navigating back
Summary: UI: unselected option should remain same after navigating back
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.15
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.16.0
Assignee: Sanjal Katiyar
QA Contact: Vijay Avuthu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-30 12:53 UTC by Vijay Avuthu
Modified: 2024-07-17 13:12 UTC (History)
5 users (show)

Fixed In Version: 4.16.0-77
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-17 13:12:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 1276 0 None open fix issue with rbd (checkbox) state reset when navigating back 2024-04-04 06:38:03 UTC
Github red-hat-storage odf-console pull 1286 0 None open Bug 2261938: [release-4.16] fix issue with rbd (checkbox) state reset when navigating back 2024-04-15 13:09:56 UTC
Github red-hat-storage odf-console pull 1287 0 None open Bug 2261938: [release-4.16-compatibility] fix issue with rbd (checkbox) state reset when navigating back 2024-04-15 13:09:51 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:12:51 UTC

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


Note You need to log in before you can comment on or make changes to this bug.