Bug 1903580 - content for a page with invalid namespace in URL keeps on loading
Summary: content for a page with invalid namespace in URL keeps on loading
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: GRC & Policy
Version: rhacm-2.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: rhacm-2.1.3
Assignee: Yu Cao
QA Contact: Derek Ho
Mikela Dockery
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-02 12:30 UTC by Karel Srot
Modified: 2021-04-09 16:52 UTC (History)
2 users (show)

Fixed In Version: rhacm-2.1.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-17 18:19:07 UTC
Target Upstream Version:
Embargoed:
gghezzo: rhacm-2.1.z+
gghezzo: rhacm-2.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 7445 0 None None None 2021-02-22 14:18:33 UTC
Red Hat Product Errata RHSA-2021:0607 0 None None None 2021-02-17 18:19:24 UTC

Description Karel Srot 2020-12-02 12:30:50 UTC
Description of problem:

So I have this valid namespace 
/multicloud/policies/policy/local-cluster/default.ksrot-policy-grc
where the last part is the name of my policy.

I was just curious whether I could get additional detail by replacing 'local-cluster' with 'all', i.e. the namespace was
/multicloud/policies/policy/alll/default.ksrot-policy-grc

With that the page content keeps loading (indefinitely?).
I shoud be probably forwarded to a different page instead.

Version-Release number of selected component (if applicable):
RHACM 2.2.0

How reproducible:
Always

Steps to Reproduce:
See above

Comment 1 Dale H 2020-12-07 21:18:49 UTC
Hello, Karel!

Thank you for submitting this bug! I'm currently looking into this issue. Our current logic loads pages based on the namespace and policy name in the URL path. So in this case there's no policy "default.ksrot-policy-grc" in the "all" namespace, so we'll update the behavior to load a "No Resource" page in this case.

Thanks,
Dale

Comment 7 errata-xmlrpc 2021-02-17 18:19:07 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 (Moderate: Red Hat Advanced Cluster Management 2.1.3 security and 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-2021:0607


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