lars-at-nxc opened a new issue, #1668: URL: https://github.com/apache/camel-karavan/issues/1668
### Describe the bug In earlier versions ([as shown in the 4.0.0 demo on YouTube](https://www.youtube.com/watch?v=3ucMUM7YfU8&t=297s)), you could add a Process step, type a new class name in Ref, and click + to generate a Java class from the org.apache.camel.Processor template. In 4.22.2 this flow is broken: 1. Ref is a select-only dropdown with no free-text input. You can't enter the name of a class that doesn't exist yet. 2. The + button next to Ref (tooltip "Open Java Class") is disabled while Ref is empty. Since you can't type a new name, it stays disabled for a new Process step. 3. If you first create an empty MyProcessor.java (Create file) and select it in Ref, + only opens the existing empty file. The template is applied only when the file does not exist. So the "generate a Processor class from template" feature can't be reached from the designer UI. ### Steps to reproduce the behavior 1. Create an integration project and add a route. 2. Add a Process step. 3. In the properties panel, try to enter a new name in Ref. Expected: you can type a new class name (for example MyProcessor), then click + to create MyProcessor.java from the Processor template and open it. Actual: Ref only offers existing options, no text input. + stays disabled. **Workaround** Witch the route to the code/YAML view and set the ref manually: ``` - process: ref: MyProcessor ``` Go back to the designer and select the Process step. + is now enabled. Click it. MyProcessor.java is created from the template with @BindToRegistry("MyProcessor") and opens in the editor. ### Variant Web Application ### Container Management (if applicable) Docker ### Operating System (if applicable) Windows ### Version 4.22.1 ### Relevant log output ```shell ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
