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

[release-4.19] ResourceEventStream hides errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.19.z
    • 4.20
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Previously, the error message in the **events page** would erroneously show the placeholder "{ error }" instead of an error message. With this release, the error message is shown.
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-60010. The following is the description of the original issue:

      Description of problem:

      If an error is encountered in the ResourceEventStream, the string "{ error }" is shown instead of the actual error.    

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

      4.20 and earlier

      How reproducible:

      Always   

      Steps to Reproduce:

      Not sure if there's a way to simulate the error, but the code has the wrong format for interpolation.
          

      Actual results:

         Error connecting to event stream: { error }

      Expected results:

          Error connecting to event stream: <the actual error message>

      Additional info:

      See https://github.com/openshift/console/blob/fa255e7feea8f9a07f29b2c88b9b54d463c23a7e/frontend/public/locales/en/public.json#L584    

              rh-ee-jaclee Jackson Lee
              rh-ee-kcormier Kevin Cormier
              None
              None
              Yanping Zhang Yanping Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: