-
Bug
-
Resolution: Done
-
Normal
-
openshift-4.8, openshift-4.9
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
-
ODC Sprint 205
-
Low
Description of problem:
When an error happen on a details page which shows multiple tabs. The complete page catches the error and doesn't show the tabs anymore.
This doesn't allow the user to check other data or, if available, the YAML tab.
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
Produce a crash on a single tab of the DetailsPage component. For example on the environment page of a BuildConfig. Before ODC-6206 will be fixed this can reproduced with this steps. Otherwise you need to find another crash..
- Open developer perspective
- Navigate to Builds
- Click on "Create BuildConfig" button
- Just create the BuildConfig without additional changes
- Switch to the "Environment" tab
- Press "Add from ConfigMap or Secret" without selecting a ConfigMap or Secret and enter a name for this environment variable
- Press "Save"
Actual results:
The complete page shows an error which fills the complete content area.
TypeError Description: Cannot read property 'component' of undefined Component Trace: minified stack Stack Trace: TypeError: Cannot read property 'component' of undefined minfied stack
Expected results:
Without the fix in ODC-6206 this error should still appear, but the other tabs should be still shown and selectable.
The error could be shown just in the "Environment" tab.
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9.0-0.nightly-2021-07-25-125326
Additional info:
None