Closed
Description
Describe the bug
When I add multiple execution listeners to a C7 BPMN diagram and press CMD+Z to undo, it removes multiple (not all) listeners and not only the last one added.
Steps to reproduce
- Select a service task
- Add multiple execution listeners
- Undo changes (e.g. via CTRL/CMD+Z)
- See multiple listeners were removed, not only the last one added
Expected behavior
Only the last added listener should be removed in this scenario.
Note that it works as expected for other list groups (e.g. Inputs and Outputs).
Environment
- OS: MacOS 11.6.5
- Camunda Modeler Version: 5.1.0-rc.1, 5.0.0
- Execution Platform: Camunda Platform 7.15
- Installed plug-ins: Cloud Connect Modeler Plugin
Additional context
No response