Bug 2179348 - [RDR] [UI] Manage policy for ApplicationSets page shows 404 error when DRPolicy is not connected to any app
Summary: [RDR] [UI] Manage policy for ApplicationSets page shows 404 error when DRPoli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.14.0
Assignee: Timothy Asir
QA Contact: kmanohar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-17 13:28 UTC by Aman Agrawal
Modified: 2023-11-08 18:50 UTC (History)
5 users (show)

Fixed In Version: 4.14.0-108
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 18:49:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 805 0 None Merged Bug 2179348: Fix 404 error when DRPolicy is not connected 2023-06-12 05:37:20 UTC
Red Hat Product Errata RHSA-2023:6832 0 None None None 2023-11-08 18:50:51 UTC

Description Aman Agrawal 2023-03-17 13:28:15 UTC
Created attachment 1951469 [details]
Manage policy for ApplicationSets page

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


Version of all relevant components (if applicable):
ACM 2.7.2
ODF 4.13.0-105.stable
OCP 4.13.0-0.nightly-2023-03-14-053612


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


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


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


Can this issue reproducible?


Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. On a RDR setup, create DRPolicy and wait for it to validate.
2. From kebab menu, click on Manage policy for ApplicationSets.
3.


Actual results: Manage policy for ApplicationSets page shows 404 error when DRPolicy is not connected to any app


Expected results: 404 error shoudn't be shown


Additional info:

Comment 1 Sanjal Katiyar 2023-03-23 14:57:13 UTC
I am reducing the severity to "low", it is happening because u don't have any AppSet on the cluster... u can't "Manage" unless u have AppSets... still UI can have better error messages to make it more intuitive...

Comment 2 Sanjal Katiyar 2023-04-12 07:25:02 UTC
we should be adding loading states for the modals as well along with error states...

Comment 5 Sanjal Katiyar 2023-06-12 05:38:09 UTC
for 4.14

Comment 13 errata-xmlrpc 2023-11-08 18:49:53 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.14.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-2023:6832


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