Abhitocode opened a new pull request, #3575: URL: https://github.com/apache/incubator-kie-tools/pull/3575
Issue When a BPMN file was loaded, multiple elements (Data Types) sharing the same structureRef were kept as duplicates. This caused the same Data Type to show up multiple times in the editor. Fix In normalize.ts, on load we now condense duplicate elements into a single one: Group all itemDefinition elements by their @_structureRef. Keep the first one as the "survivor" and drop the rest. Update every itemSubjectRef across the model (process properties, dataObjects, task ioSpecification, inputs/outputs, event data inputs/outputs, and nested subProcess/adHocSubProcess /transaction elements) to point at the survivor's id. Closes: https://github.com/apache/incubator-kie-issues/issues/2298 -- 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]
