jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
694 stars 124 forks source link

Unsaved changes dialog in BPMN modeler should not appear after the process was deployed #2539

Open gorbunkov opened 12 months ago

gorbunkov commented 12 months ago

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

  1. Create a new BPMN model
  2. Deploy the process
  3. Open some other screen in menu

Current Behavior

The "Unsaved changes in modeler" appears

Screenshot 2023-12-01 at 14 32 04

Expected Behavior

The BPMN modeler should be closed and another screen should be opened, because all changes in modeler were just deployed.

KartnDev commented 11 months ago

Also, this behaviour applies for save draft/save action inside modeler view