Bug 2062524

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: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: aos-bugs, dsantra, nmukherj, viraj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:53:13 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: 2062980    

Description Jaivardhan Kumar 2022-03-10 04:33:55 UTC
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 Debsmita Santra 2022-04-22 10:20:13 UTC
verified on 4.11.0-0.nightly-2022-04-21-192140

Comment 5 errata-xmlrpc 2022-08-10 10:53:13 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069