-
Bug
-
Resolution: Done
-
Major
-
openshift-4.7
-
False
-
False
-
Undefined
-
Not Supported
-
-
ODC Sprint 194
-
High
Description of problem:
When starting a Pipeline multiple times the console crashes sometimes with this JavaScript error:
TypeError: Cannot read property 'spec' of null at getPipelineTasks (pipeline-utils.ts:197) at getTopologyNodesEdges (utils.ts:230) at PipelineVisualization (PipelineVisualization.tsx:22)
I expect an issue that happen because the Pipeline or PipelineRun was updated from a previous PipelineRun.
Prerequisites (if any, like setup, operators/versions):
- Install Pipelines Operator (tested with 1.1.2)
Steps to Reproduce
- Import a Git Deployment and enable "Add Pipeline" option
- Open the Pipelines overview and select on right hand side the action menu entry "Start Last Run"
- Repeat step 2 multiple times until you get an error.
Actual results:
Frontend crash, see JavaScript error above
Expected results:
Opens the PipelineRun successfully similar to the first "Start Last Run" call.
Reproducibility (Always/Intermittent/Only Once):
Always (not the first time when starting the last run, but happens "Always" after 2-4 new tries.)
Build Details:
- Pipelines Operator 1.1.2
- console master (dfba93b36a085136220f17c280a02a4198abf274)
Additional info:
Release branches not tested yet.