Bug 1918639 - Event listener with triggerRef crashes the console
Summary: Event listener with triggerRef crashes the console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Karthik Jeeyar
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1923939
TreeView+ depends on / blocked
 
Reported: 2021-01-21 09:41 UTC by Karthik Jeeyar
Modified: 2021-02-24 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1923939 (view as bug list)
Environment:
Last Closed: 2021-02-24 15:55:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7889 0 None closed Bug 1918639: add missing trigger types and update the optional fields 2021-02-02 09:34:51 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:55:38 UTC

Description Karthik Jeeyar 2021-01-21 09:41:08 UTC
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

Comment 2 Aritra Roy 2021-02-03 09:12:29 UTC
verified on

build: 4.7.0-0.nightly-2021-02-02-223803

browser: 84.0.1 (64-bit)

Comment 5 errata-xmlrpc 2021-02-24 15:55:12 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


Note You need to log in before you can comment on or make changes to this bug.