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

   Kogito codegen generates the json schemas for processes and tasks files the 
using the BPMN **processId** as a preffix for the file name. If the 
**processId** contains the `.`  character It is replaced by the `#` (eg: if the 
**processId** is `demo.orderItems` the generated schema is 
`demo#orderItems.json`). 
   
   Later when trying to get the schema via REST, the runtime tries to load the 
json schema and when generates the file name the `.` aren't escaped, so the 
file cannot be found.
   
   Code can be found here: 
[JsonSchemaUtil](https://github.com/kiegroup/kogito-runtimes/blob/9636d0c927f3480cabeac69c395366984e63a909/jbpm/jbpm-flow/src/main/java/org/jbpm/util/JsonSchemaUtil.java#L46)
   
   Related to: https://github.com/kiegroup/kie-issues/issues/528


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