You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "pefernan (via GitHub)" <gi...@apache.org> on 2026/08/26 20:49:24 UTC
[I] Rest endpoint to get the process schema fails if the schema file contains `#` [incubator-kie]
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: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org