Closed philippfromme closed 7 months ago
Error only occurs when applying element template to existing element. Creating using bpmn-js-create-append-anything
works.
Added ready
as we should fix this as soon as possible, either by validating IDs to be unique or by preventing the infinite loop.
Describe the Bug
After this commit and with element templates that contain properties with duplicate property IDs (here, here) and conditions depending on those applying an element template results in an infinite loop.
Steps to Reproduce
infinite-loop
branchnpm start
Expected Behavior
Test case passes. Deduplication IDs fixes it but also removing condition fixes it.
Environment
Additional Context
Initially reported via this thread