-
Problem report
-
Resolution: Fixed
-
Major
-
3.4.1rc1, 4.0.0alpha1
-
Sprint 15, Sprint 16
-
1
Undefined index for widget on dashboard if name and value of tag don't match (dashboard.create, dashboard.update)
"method": "dashboard.create", "params": { "name": "Widgets - create dashboard with widgets", "widgets": [ { "type": "problems", "name": "widget Problems", "x": "0", "y": "0", "width": "6", "height": "5", "fields": [ { "type": "1", "name": "tags.tag.0", "value": "tag1" }, { "type": "1", "name": "tags.value.1", "value": "value for tag1" } ] } ] },
I get error:
Undefined index: tag [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CController->run() ? CControllerWidget->checkInput() ? CWidgetConfig::getForm() ? CProblemsWidgetForm->__construct() ? CWidgetFieldTags->setValue() in include/classes/widgetfields/CWidgetFieldTags.php:45]
In edit widget mode:
Undefined index: tag [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CController->run() ? CControllerDashbrdWidgetConfig->doAction() ? CWidgetConfig::getForm() ? CProblemsWidgetForm->__construct() ? CWidgetFieldTags->setValue() in include/classes/widgetfields/CWidgetFieldTags.php:45] Undefined index: value [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() in app/views/monitoring.dashboard.config.php:180] Undefined index: tag [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() in app/views/monitoring.dashboard.config.php:177]