-
Bug
-
Resolution: Done
-
Minor
-
None
-
False
-
False
-
0
-
undefined
-
Not Supported
-
-
ODC Sprint 206
-
Medium
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
- Goto search page, search for Kamelet and click on create Kamlet
- Add the below label to the metadata field in the pre-populated yaml.
labels: camel.apache.org/kamelet.type: "source"
- Visit the Add -> Event sources page.
Actual results:
UI breaks with following error:
Uncaught TypeError: Cannot read property 'title' of undefined
at useKameletsProvider.ts:22
Expected results:
No errors on UI. (Invalid kamelets must be skipped in the provider list)
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9.0-0.nightly-2021-08-22-005117