-
Bug
-
Resolution: Done
-
Normal
-
openshift-4.7
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
-
ODC Sprint 199
-
Medium
Description of problem:
When the user opens the topology list, selects an app, select an action like "Add to Application" > "From Git" and return to the topology list with the cancel button the topology list crashs.
It crashs as well if you select an app and just refresh your browser.
It does not crash if the user selects an deployment.
The topology graph is also not affected.
Errors when testing this locally:
Uncaught TypeError: Cannot read property 'eventSourceEnabled' of undefined
at getKnativeContextMenuAction (create-connector-utils.ts:31)
After a quick local null check I get another issue:
Uncaught TypeError: Cannot read property 'createResourceAccess' of undefined
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Open developer console
- Create a deployment with an application name
- Open topology and switch to the list view
- Select the application name and refresh your browser (URL contains ?view=list&selectId=group%3A...
Actual results:
App crashs and show a white screen (without an error boundary for the content section)
Expected results:
Topology list should be shown with the application selected and the sidebar opens automatically
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
Tested versions:
- 4.6.23 is not affected
- 4.7.3 could reproduce crash
- 4.8.0-0.nightly-2021-03-22-064955 could reproduce crash
Additional info:
None