Bug 1919851
| Summary: | Visualization does not render when Pipeline & Task share same name | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Karthik Jeeyar <kjeeyar> | ||||||
| Component: | Dev Console | Assignee: | Karthik Jeeyar <kjeeyar> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | spathak <spathak> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.7 | CC: | aos-bugs, nmukherj, spathak | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.7.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-02-24 15:55:50 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: | 1920493 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1751146 [details]
Visualization renders when Pipeline & Task share same name
Verified on build version: 4.7.0-0.nightly-2021-01-26-162323 Browser version: Chrome 84 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 |
Created attachment 1750436 [details] Empty Visualization Description of problem: Sharing the same name for a pipeline and one of its tasks, does not render the visualization and adding additional tasks breaks the pipeline details page. Version-Release number of selected component (if applicable): 4.6 How reproducible: Always Steps to Reproduce: 1.Create a pipeline with below yaml ### apiVersion: tekton.dev/v1beta1 kind: Pipeline metadata: name: myapp-install spec: tasks: - name: myapp-install taskRef: kind: Task name: myapp-install ### 2.Add an extra task using edit pipeline feature. (shouldn't throw Javascript error ) Actual results: Pipeline visualization does not render the nodes, by adding the second task the UI breaks with the error. Expected results: Pipeline visualization should render the nodes and by adding more tasks the UI should not break.