pefernan opened a new issue, #3875:
URL: https://github.com/apache/incubator-kie-tools/issues/3875

   When generating the binding expression to bind the model data into the form 
state, the generated tool sets a default value for each input. but It doesn't 
do so for `array` data types leaving the property `null`. 
   This could cause problems in the runtime when submitting the payload with 
the null array.
   
   Steps to reproduce:
   1. Build the `jbpm-compact-architecture` example (`mvn clean install`) to 
generate the json schemas.
   2. Run the `form-generation-cli` to generate forms (it doesn't matter the 
type)
   3. Start the `jbpm-compact-architecture` in dev mode (`mvn clean compile 
quarkus:dev` or `pnpm -F @kie-tools-examples/jbpm-compact-architecture-example 
quarkus:dev`)
   4. Start a hiring process instance from the `Process Definitions` tab. After 
submit you'll get see the error dialog appear
   
   
   
![Image](https://github.com/apache/incubator-kie-issues/assets/2429832/5880a5a6-e94e-4b1a-bf8f-4fe8f704f60b)
   
![Image](https://github.com/apache/incubator-kie-issues/assets/2429832/c4597169-f6d9-4e27-af8f-4c7ed4f48029)
   
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to