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

ResourceEventStream hides errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.20.0
    • 4.20
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      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. (link:https://issues.redhat.com/browse/OCPBUGS-60010[OCPBUGS-60010])
      Show
      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. (link: https://issues.redhat.com/browse/OCPBUGS-60010 [ OCPBUGS-60010 ])
    • None
    • None
    • None
    • None

      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:
              6 Start watching this issue

                Created:
                Updated: