Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23435

No alert message after refreshing page with changes in modal form

XMLWordPrintable

    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), S2401-1, S2401-2, S24-W6/7, S24-W8/9, S24-W16/17, S24-W18/19
    • 2

      No alert message about non-saved changes in modal form is appearing, if any additional modal window was opened before.

      Steps to reproduce: 

      1. Open Data collection -> Maintenance
      2. Click "Create maintenance period"
      3. Add some data
      4. Open any additional pop-up, for example Host groups "Select".
      5. Close the pop-up
      6. Click back or F5 to refresh the page.

      Result:

      No alert messages that changes will be lost, page is refreshed and/or return to previous page.

      Expected:

      Alert message with text "Changes you made may not be saved." should appear and page refreshed only after clicking "Leave".

      Note! In Zabbix 6.0 there was only host modal form and this message appeared correctly, however, in 6.4 this problem is also persists in host modal forms.

        1. api-notification.png
          api-notification.png
          121 kB
        2. dashboard-error-add.gif
          dashboard-error-add.gif
          137 kB
        3. event-details-issue.gif
          event-details-issue.gif
          279 kB
        4. item-error.png
          item-error.png
          281 kB
        5. media-type-no-alert.gif
          media-type-no-alert.gif
          731 kB

            ngogolevs Nikita Gogolevs
            epulke Elina Pulke
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: