Description of problem:
Create an invalid Kamelet of type "source" using create Kamelet button from search page. Visiting the Add flow event sources page breaks the UI with an NPE.
Prerequisites (if any, like setup, operators/versions):
Openshift Serverless operator + Red Hat camel K Integration
Steps to Reproduce
1.Goto search page, search for Kamelet and click on create Kamlet
2.Add the below label to the metadata field in the pre-populated yaml.
labels: camel.apache.org/kamelet.type: "source"
3. Visit the Add -> Event sources page.
UI breaks with following error:
Uncaught TypeError: Cannot read property 'title' of undefined
No errors on UI. (Invalid kamelets must be skipped in the provider list)
Reproducibility (Always/Intermittent/Only Once):
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.9.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.