Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-523

Plugin page error boundary message is not cleared after leaving page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.12
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when a plug-in page resulted in an error, the error did not reset when navigating away from the erroring 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://issues.redhat.com/browse/OCPBUGS-523[*OCPBUGS-523*]
      Show
      * Previously, when a plug-in page resulted in an error, the error did not reset when navigating away from the erroring 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://issues.redhat.com/browse/OCPBUGS-523 [* OCPBUGS-523 *]
    • Bug Fix
    • Done

      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.

              rhn-engineering-rhamilto Robb Hamilton
              rhn-engineering-rhamilto Robb Hamilton
              Olivia Payne Olivia Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: