* Previously, when a plug-in page resulted in an error, the error did not reset when navigating away from the error page, and the error persisted after navigating to a page that was not the cause of the error. With this update, the error state is reset to its default when a user navigates to a new page, and the error no longer persists after navigating to a new page. (link: https://bugzilla.redhat.com/show_bug.cgi?id=2117738[*BZ#2117738*], link: https://issues.redhat.com/browse/OCPBUGS-523[*OCPBUGS-523*])
Version: 4.12.0-0.nightly-2022-07-25-055755
Cluster ID: 0464bdc7-c959-4fb3-83f1-9957d9caab3d
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36
Created attachment 1905034[details]
Plugin page with error
Steps to reproduce:
1. Install a plugin with a page that has a runtime error. (Demo Plugin -> Dynamic Nav 1 currently has an error for me, but you can reproduce by editing any plugin and introducing an error.)
2. Observe the "something went wrong" error message.
3. Navigate to any other page (e.g. Workloads -> Pods)
Expected result:
The pods page is displayed.
Action result:
The error message persists. There is no way to clear except to refresh the browser.
1. deploy and enable console-demo-plugin(whose Dynamic Nav page has error), we can see `Oh no! Something went wrong.` page when viewing Demo Plugin -> Dynamic Nav 1
2. then navigate to any other pages such as Workloads -< Pods page, Demo Plugin -> List Page, pages can be displayed
verified on 4.12.0-0.nightly-2022-08-24-053339
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.12.0 bug fix and 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:7399
Created attachment 1905034 [details] Plugin page with error Steps to reproduce: 1. Install a plugin with a page that has a runtime error. (Demo Plugin -> Dynamic Nav 1 currently has an error for me, but you can reproduce by editing any plugin and introducing an error.) 2. Observe the "something went wrong" error message. 3. Navigate to any other page (e.g. Workloads -> Pods) Expected result: The pods page is displayed. Action result: The error message persists. There is no way to clear except to refresh the browser.