Bug 2062980

Summary: [Kamelet Sink] Topology crashes on click of Event sink node if the resource is created source to Uri over ref
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: cjerolim, dsantra, hsaini, nmukherj
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-28 11:50:26 UTC Type: ---
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: 2062524    
Bug Blocks:    

Description OpenShift BugZilla Robot 2022-03-11 04:29:06 UTC
+++ This bug was initially created as a clone of Bug #2062524 +++

Description of problem: Topology crashes on click of Event sink node if the resource is created source to Uri over ref


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Install Serverless operator and create CR for knativeServing/knativeEventing
2. Install Camel K operator
3. Create a Channel
4. Create resource KameletBinding from yaml(provided below)
5. Go to topology and click on the event sink node

```
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
  name: log-sink-binding
spec:
  source:
    uri: http://dummy.com
  sink:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1alpha1
      name: log-sink
```


Actual results: UI crashes on click on the node


Expected results: UI should not crash on click on node and side panel should show URI in resources as external link


Additional info:

Comment 3 Christoph Jerolimov 2022-06-22 21:53:59 UTC
Verified on 4.10.0-0.ci-2022-06-21-165250

Comment 5 Hemant Saini 2022-06-27 11:06:14 UTC
verified on build version: 4.10.20
verified on browser version: chrome 103

Comment 7 errata-xmlrpc 2022-06-28 11:50:26 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 (OpenShift Container Platform 4.10.20 bug fix 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/RHBA-2022:5172