Bug 1918639
| Summary: | Event listener with triggerRef crashes the console | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Karthik Jeeyar <kjeeyar> | |
| Component: | Dev Console | Assignee: | Karthik Jeeyar <kjeeyar> | |
| Status: | CLOSED ERRATA | QA Contact: | Gajanan More <gamore> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 4.7 | CC: | aos-bugs, ariroy, nmukherj | |
| Target Milestone: | --- | |||
| Target Release: | 4.7.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1923939 (view as bug list) | Environment: | ||
| Last Closed: | 2021-02-24 15:55:12 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: | 1923939 | |||
verified on build: 4.7.0-0.nightly-2021-02-02-223803 browser: 84.0.1 (64-bit) 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 |
Description of problem: Event listeners has an optional `triggerRef` field which is not compatible in UI code causes the UI to crash Version-Release number of selected component (if applicable): ocp-4.6 with Openshift Pipelines operator 1.2.2 (ocp-4.6 channel) How reproducible: Always Steps to Reproduce: 1.Create an eventlistener with this yaml: ### apiVersion: triggers.tekton.dev/v1alpha1 kind: EventListener metadata: name: vote-app spec: serviceAccountName: pipeline triggers: - triggerRef: vote-app ### Actual results: UI crashes with a `name of undefined` error in the browser console Expected results: UI should handle the new types and should not break