Community
Participate
Working Groups
The Bpmn2Resource generates IDs for all elements (to ensure references by ID), even for those that do not have a corresponding structural feature (e.g. Import). Furthermore, an ID is generated even if the ID attribute has already been set, leading to a duplicate attribute. The deserialization of resources with one of these errors fails with a FeatureNotFoundException; resp. SAXParseException. Solution: Explicitly set IDs on save, where available, instead of useUUIDs=true. Fix coming.
Fixed in cb662cfb111947f6d26d642bc485528a46beb42b Tests: org.eclipse.bpmn2.tests.XMLSerializationTest.testIdSerialization() org.eclipse.bpmn2.tests.XMLSerializationTest.testNoIDForImport() org.eclipse.bpmn2.tests.XMLSerializationTest.testIDAlreadySet()