Skip to content

Confirmation modal should not appear if no changes are made #11097

Description

@tdipisa

Description

Every time the permissions tab of the resource properties is opened and then you want to close it without providing any changes, the confirmation dialog box appears asking if you are sure to leave without applying changes.

How to reproduce

Case 1

  • Open the resource properties from home
  • Open the permission tab
  • Close the permission tab

Case 2

  • Open a resource (like a map)
  • Open the resource properties panel without applying any changes to the map
  • Leave the map

Expected Result

The state of the application should be consistent and no confirmation modal should appear with no changes provided.

Current Result

Case 1
The confirmation dialog appears even if changes have not been performed
Image

Case 2
The map is marked as dirty even if no changes have been provided
Image

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Activity

  1. added this to the 2025.01.00 milestone on May 14, 2025
  2. self-assigned this
    on May 14, 2025
  3. added theissue type on May 14, 2025
  4. added a commit that references this issue on May 21, 2025
    4f21d78
  5. added
    BackportNeeded
    on May 21, 2025
  6. added a commit that references this issue on May 21, 2025
    1fe44f9
  7. self-assigned this
    on May 21, 2025
  8. added a commit that references this issue on May 23, 2025
    05a672a
  9. removed
    BackportNeeded
    on May 23, 2025
  10. added a commit that references this issue on May 23, 2025
    0a15820
  11. added 2 commits that reference this issue on Aug 26, 2025
    984ef98
    0c1cf40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions