apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Navigating away from a BPMN file that has had all changes undone has a confirmation popup appear on KIE Sandbox #127

Open kbowers-ibm opened 1 year ago

kbowers-ibm commented 1 year ago

Reproducing this issue:

  1. Upload a folder with more than one model
  2. Make a change
  3. Try to go back to the home page by clicking on the logo or the back button (editor toolbar)
  4. Confirm that a confirmation popup appears
  5. Select Download
  6. Confirm that the zip downloads
  7. Do another change
  8. Try to go back to the home page by clicking on the logo or the back button (editor toolbar)
  9. Confirm that the a confirmation popup appears
  10. Close the popup
  11. Undo (Cmd + Z or Ctrl + Z)
  12. Try and close it
  13. The popup appears despite no changes being made

Expected:

On step 13. the popup should not appear

kbowers-ibm commented 1 year ago

Furthermore, after changing the name, on both DMN and BPMN editors, and navigating away, the popup will still appear and when clicking proceed anyway, the name change that was undone persists.

BPMN Bug: Popup appears despite change in the editor being undone with ctrl z. (Only affects BPMN and not DMN) https://user-images.githubusercontent.com/92726146/235884149-a5436878-f7c4-4f0f-b0e2-37925337b03b.mp4

~~Name Bug: Popup appears despite Name change being undone with ctrl z. Upon clicking proceed anyway, you can see that the name change persists despite being undone (Affects both BPMN and DMN) https://user-images.githubusercontent.com/92726146/235884155-1c037b84-e39b-4f6e-aea7-7dcd8e14d762.mp4~~

jomarko commented 1 year ago

This issue is still present. Checked during 0.29.0 pre-release check.

danielzhe commented 1 year ago

It's still present in 0.30.0.

jomarko commented 4 days ago

Please notice, as of 12th of September 2024, using https://sandbox.kie.org/dev the issue is reproducible also for DMN models.