Created attachment 1688017 [details]
console breaks if embedded pipelineSpec is passed
Description of problem:
Devconsole UI breaks when user creates `pipelinerun` with embedded pipeline spec and visits the pipeline run details page
Version-Release number of selected component (if applicable):
4.5, 4.4, 4.3
Steps to Reproduce:
1. create any namespace
2. oc apply -f https://gist.githubusercontent.com/praveen4g0/417eb5c173831a18b85737e45f564e12/raw/9e8a717936a213c86abcbb8a9af16c13d29838e3/embeededpipelinespec.yaml
3. open the pipelinerun details page from the pipeline runs list page.
Console UI breaks with an error
UI should not throw an error and it should handle the components gracefully if the pipeline details is not available.
Created attachment 1691025 [details]
Handle embedded pipelineSpec in pipelineRun details page.
Verified on build version: 4.5.0-0.ci-2020-05-21-230520
Browser version: Firefox73
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.