Uncaught Error: Unsupported state change - when selecting Geomap widget with deleted host as the "Override host" option in other widget

XMLWordPrintable

    • S26-W06/07
    • 0.5

      Steps to reproduce:
      Precondition: dashboard should contain the Geomap widget with Zabbix server host

      1. Open Data collection -> Hosts
      2. Delete host Zabbix server
      3. Open Dashboard
      4. Add widget that should have option to use Geomap as Override host, for example Gauge
      5. Select Override host -> Geomap
      6. Observe error, close the widget form

      Result:
      Error is displayed when Geomap is selected:

      Failed to update widget properties.
      

      After closing the edit form ->
      Widget disappears, console error is displayed, dashboard becomes uneditable.

      Uncaught Error: Unsupported state change.
          at CWidgetMisconfigured.destroy (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:59892:10)
          at #destroyWidget (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:49956:11)
          at CDashboardPage.deleteWidget (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:50104:22)
          at CWidgetEditSandbox.cancel (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:63185:25)
          at #onClose (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:62898:18)
          at HTMLDivElement.<anonymous> (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:62824:80)
          at overlayDialogueDestroy (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:34456:53)
          at HTMLButtonElement.close_button_click (jsLoader.php?lang=en_US&ver=8.0.0alpha2&showGuiMessaging=1:24765:5)
      

      See video:

      Expected:
      There should be no issues after host was deleted. Should work as adding widget without host in override.

            Assignee:
            Zabbix Development Team
            Reporter:
            Nikita Gogolevs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5h
                5h