Closed
Description
Describe the Bug
When you delete a name or id of a flow node in the properties panel, then add a new node and hit undo, the name or id is inserted back again - in the right property, but of the wrong flow node. So, the revert operation is not conducted properly. Also, adding the flow node itself is not reverted. It seems like the undo stacks of the properties panel and bpmn-js clash.
Steps to Reproduce
- Have a flow node
- Enter a name or id
- Remove the name or id (select all + entf/backspace/cut)
- Add a new flow node
- Hit undo
- -> The name or id is inserted back again, but in the currently selected flow node (the new one)
Or just see the videos.
Bildschirmaufnahme.2022-06-28.um.22.01.23.mov
Bildschirmaufnahme.2022-06-28.um.21.59.22.mov
(Not validated if this also applies to other properties than ids and names).
Expected Behavior
Hitting undo, at first the newly added flow node should be removed, then the name or id should be inserted back again in the original node.
Environment
- Desktop Modeler 5.0.0 and Web Modeler (Nightly and our current dev env ultrawombat)