-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
7.0.13rc1, 7.2.7rc1, 7.4.0beta2
Steps to reproduce:
- Create dashboard with graph widget via API
- Type invalid color picker value for widget
{ "type": "1", "name": "ds.0.color", "value": "97" }
- Check created widget
Result:
PHP runtime error
Trying to access array offset on false [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> Widgets\SvgGraph\Actions\WidgetView->doAction() -> Widgets\SvgGraph\Includes\CSvgGraphHelper::get() -> Widgets\SvgGraph\Includes\CSvgGraphHelper::getMetricsPattern() -> getColorVariations() -> CConfigFile->{closure:/.../../.../7.0/ui/conf/zabbix.conf.php:83}() in include/func.inc.php:328]