-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.14.0
-
Low
-
Yes
-
False
-
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:
- blocks
-
OCPBUGS-16659 Bridge getConsolePlugins func throws exception if console plugin request fails
- Closed
- is cloned by
-
OCPBUGS-16659 Bridge getConsolePlugins func throws exception if console plugin request fails
- Closed
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update