jmix
jmix copied to clipboard
A dialog does not appear before closing the editor with unsaved data
A dialog does not appear before closing the editor with unsaved data in the following cases:
One
- Go Administration -> Notifications
- Click the Create button and fill in some fields.
- Click the cross button of the editor.
Two
- Go Administration -> Notifications
- Click the Create button and fill in some fields.
- Click the Cancel button in the editor.
Three
- Go Administration -> Notifications and create a new notification.
- Open the created notification for editing.
- Make changes in some fields.
- Click the Close button in the editor.
Four
- Go Administration -> Notifications and create a new notification.
- Open the created notification for editing.
- Make changes in some fields.
- Click the cross button of the editor.
ER: The gialog will appear
AR: The editor is closed.
Check if it's relevant for 2.2 and 1.6
Reproducable on 1.6, created issue for backporting https://github.com/jmix-framework/jmix/issues/3702