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

[release-4.18] ResourceEventStream hides errors

XMLWordPrintable

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

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      Before this update, the Events page incorrectly displayed `{ error }` instead of an error message. With this release, the error message is displayed. (link:https://issues.redhat.com/browse/OCPBUGS-60278[OCPBUGS-60278])
      Show
      Before this update, the Events page incorrectly displayed `{ error }` instead of an error message. With this release, the error message is displayed. (link: https://issues.redhat.com/browse/OCPBUGS-60278 [ OCPBUGS-60278 ])
    • None
    • None
    • None
    • None

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

      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-jaclee Jackson Lee
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: