jmix
jmix copied to clipboard
Unsaved changes dialog in BPMN modeler should not appear after the process was deployed
Environment
Jmix version: 2.1.1
Bug Description
The "Unsaved changes in modeler" appears after the process was just deployed and no changes were made. The same thing happens after we save the process draft.
Steps To Reproduce
- Create a new BPMN model
- Deploy the process
- Open some other screen in menu
Current Behavior
The "Unsaved changes in modeler" appears
Expected Behavior
The BPMN modeler should be closed and another screen should be opened, because all changes in modeler were just deployed.
Also, this behaviour applies for save draft/save action inside modeler view