Bug 1913332

Summary: Pipeline visualization breaks the UI when multiple taskspecs are used
Product: OpenShift Container Platform Reporter: Vikram Raj <viraj>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: Karthik Jeeyar <kjeeyar>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aballant, aos-bugs, kjeeyar, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:50:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1915013    

Description Vikram Raj 2021-01-06 14:29:41 UTC
Description of problem:  
Pipeline details page is broken if the newly created pipeline contains multiple taskSpecs in the yaml.

Prerequisites (if any, like setup, operators/versions): 
openshift pipelines operator

Steps to Reproduce
1. Create a pipeline with multiple taskspecs in it. 
https://github.com/karthikjeeyar/pipelines/blob/main/taskspec.yaml

Actual results: 
Breaks the UI with error message

Expected results: 
Should not break the UI 

Reproducibility (Always/Intermittent/Only Once): 
Always

Build Details: 
4.6

Comment 2 Karthik Jeeyar 2021-01-13 05:52:27 UTC
Verified on 
build: 4.7.0-0.nightly-2021-01-13-005809
url: https://console-openshift-console.apps.ci-ln-0xxmvm2-f76d1.origin-ci-int-gce.dev.openshift.com/k8s/ns/karthik/import
user: kubeadmin

Comment 5 errata-xmlrpc 2021-02-24 15:50:41 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633