Bug 2018272 - Deployment managed by link and topology sidebar links to invalid resource page (at least for Exports)
Summary: Deployment managed by link and topology sidebar links to invalid resource pag...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.0
Assignee: Debsmita Santra
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2034183
TreeView+ depends on / blocked
 
Reported: 2021-10-28 16:58 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:23:25 UTC
Target Upstream Version:
Embargoed:
dsantra: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10529 0 None open Bug 2018272: Open export details page from the resource link on the topology sidepanel 2021-11-22 15:22:51 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:23:40 UTC

Description Christoph Jerolimov 2021-10-28 16:58:23 UTC
Description of problem:
When the user exports an application with the Primer GitOps page the topology shows a Deployment with a surrounding Export CSV "Primer". When the user clicks on that CSV it was opened in the sidebar.

When the user now clicks on the title "(E) primer" to open the detail page of that resource, the user was redirected to a page which shows a skeleton loading indicator 'forever'.

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

How reproducible:
Always

Steps to Reproduce:
1. Open Operator Hub and install the "Primer" GitOps Operator
2. Switch to developer perspective
3. Import at least one Application to enable the Export button in topology
4. If not opened yet, open the topology, and click the "Export Application" button
5. Wait until the export finishs and a new Deployment "primer-export-primer" was shown
6. Click on the Export "primer" and then click on the linked "(E) primer" title in the sidebar

Actual results:
1. User is redirected to a page which never finishs the loading.

Linked page looks like this:
  /k8s/ns/christoph/operators.coreos.com~v1alpha1~ClusterServiceVersion/gitops-primer.v0.0.1/primer.gitops.io~v1alpha1~Export/primer

2. When open the Deployment "primer-export-primer" detail page by clicking it in the sidebar (/k8s/ns/christoph/deployments/primer-export-primer/yaml) the managed by (E) "primer" link links also to this invalid URL.


Expected results:
0. The page which could not fetch the right data should show a eror message instead of loading forever.

1.+2. User should be redirected to a page which shows the generic resource detail page

Open the Export detail page over the search works fine and opens this page:
  /k8s/ns/christoph/exports/primer

Additional info:

Comment 2 divgupta 2021-12-17 15:11:34 UTC
@dsantra This issue doesn't seem to be fixed as I still see the details page loading forever. 
Verified on - 4.10.0-0.nightly-2021-12-14-083101.

Comment 3 Debsmita Santra 2021-12-17 17:29:33 UTC
@divgupta checked it on 4.10.0-0.ci-2021-12-16-184808 , I am not able to reproduce the issue anymore

Comment 4 Christoph Jerolimov 2021-12-20 10:48:26 UTC
Could verify this as well on 4.10.0-0.nightly-2021-12-16-185411.

Comment 8 errata-xmlrpc 2022-03-10 16:23:25 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: OpenShift Container Platform 4.10.3 security 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-2022:0056


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