Fix @kie-tools/form-generation-tool: Problems generating forms for schemas that have #
in the filename.
#528
Labels
area:form-generation-tool
area:tools
Issues affecting Apache KIE tooling projects
type:bug
Something is behaving unexpectedly
The
form-generation-tool
fails when generating forms for schemas that contain the#
character in the name.Kogito codegen creates the file using the BPMN processId as the schema name. If the processId contains the
.
character It is replaced by the#
(eg: if the processId isdemo.orderItems
the generated schema isdemo#orderItems.json
).We must make the
form-generation-tool
shouldn't fail when dealing with#
in the schema name and should generate clean id's to be used inside of the generated Forms.For simplicity, I think the generated form should use the
.
in the file name, since the form-matching mechanism is done by comparing the form name with the id provided by the runtime, and the runtime will always use the.
.Steps to reproduce:
The text was updated successfully, but these errors were encountered: