-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Major
-
Affects Version/s: 7.0.22, 7.4.7rc1, 8.0.0alpha2 (master)
-
Component/s: Frontend (F)
-
S26-W06/07
-
0.5
Steps to reproduce:
Precondition: dashboard should contain the Geomap widget with Zabbix server host
- Open Data collection -> Hosts
- Delete host Zabbix server
- Open Dashboard
- Add widget that should have option to use Geomap as Override host, for example Gauge
- Select Override host -> Geomap
- 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)
Expected:
There should be no issues after host was deleted. Should work as adding widget without host in override.