-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14.0
-
Low
-
No
-
False
-
This is a clone of issue OCPBUGS-13693. The following is the description of the original issue:
—
Description of problem:
We are not error checking the response when we request console plugins in getConsolePlugins. If this request fails, we still try to access the "Items" property of the response, which is nil, and causes an exception to be trhown. We need to make sure the request succeeded before referencing any properties of the response.
Version-Release number of selected component (if applicable):
4.14
How reproducible:
Always
Steps to Reproduce:
1. Run bridge locally without setting the requisite env vars
Actual results:
A runtime exception is thrown from the getConsolePlugins function and bridge terminates
Expected results:
An error should be logged and bridge should continue to run
Additional info:
- clones
-
OCPBUGS-13693 Bridge getConsolePlugins func throws exception if console plugin request fails
- Closed
- is blocked by
-
OCPBUGS-13693 Bridge getConsolePlugins func throws exception if console plugin request fails
- Closed
- links to
-
RHBA-2023:4603 OpenShift Container Platform 4.13.z bug fix update