Bug 2041434

Summary: Observe dashboard shows nothing if the URL links to an non existing dashboard
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, nmukherj, skontopo, viraj
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-14 12:00:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2039776    
Bug Blocks:    

Description OpenShift BugZilla Robot 2022-01-17 10:53:25 UTC
+++ This bug was initially created as a clone of Bug #2039776 +++

Description of problem:
When the user saves or shares a dashboard URL it contains the dashboard parameter. If the dashboard could not be found the page looks incomplete.

The Dashboard dropdown doesn't show any info that the user can still select something. See screenshot.

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

How reproducible:
Always, when changing the URL manually to a dashboard that doesn't exist

Steps to Reproduce:
1. Navigate to Observe > Dashboard
2. Change the URL manually to a dashboard that does not exist

Actual results:
Empty page which looks like something failed

Expected results:
Show an empty state or error message. Would be also nice if the dashboard dropdown shows a hint that the user can switch the dropdown.

Additional info:

--- Additional comment from cjerolim on 2022-01-12 12:34:17 UTC ---

Created attachment 1850358 [details]
dashboard-does-not-exist-looks-like-an-error.png

--- Additional comment from cjerolim on 2022-01-12 12:37:49 UTC ---

This bug report is based on skontopo feedback here https://github.com/openshift-knative/serverless-operator/pull/1242#issuecomment-1008944248

Comment 5 spathak@redhat.com 2022-02-11 05:53:27 UTC
Verified on build version: 4.9.0-0.nightly-2022-02-10-122021
Browser: Google Chrome 98

Comment 7 errata-xmlrpc 2022-02-14 12:00:47 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 (OpenShift Container Platform 4.9.21 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/RHBA-2022:0488