Infinite loop when applying element template
philippfromme opened this issue · comments
Philipp Fromme commented
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
- Check out
infinite-loop
branch - Run
npm start
- Test case fails
Expected Behavior
Test case passes. Deduplication IDs fixes it but also removing condition fixes it.
Environment
- Library version: 1.14.2
Additional Context
Initially reported via this thread
Philipp Fromme commented
Philipp Fromme commented
Added ready
as we should fix this as soon as possible, either by validating IDs to be unique or by preventing the infinite loop.
Nico Rehwaldt commented
Fix via #82.