Bug 2041434 - Observe dashboard shows nothing if the URL links to an non existing dashboard
Summary: Observe dashboard shows nothing if the URL links to an non existing dashboard
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.9.z
Assignee: Vikram Raj
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 2039776
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-17 10:53 UTC by OpenShift BugZilla Robot
Modified: 2022-02-14 12:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-14 12:00:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10857 0 None open [release-4.9] Bug 2041434: Monitoring: show a error message if wrong dashboard name is passed to the URL 2022-01-19 01:00:54 UTC
Red Hat Product Errata RHBA-2022:0488 0 None None None 2022-02-14 12:01:00 UTC

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


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