-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.40rc1, 7.0.11rc1, 7.2.5rc1, 7.4.0beta1 (master)
Steps to reproduce:
- Open Monitoring -> Maps
- Create Sysmap
- Add element -> trigger, use discovered trigger
- Adjust discovery rule, so that trigger is removed on the next execution of LLD
- Execute LLD
- Open Map that was created in #1
Result:
Runtime error:
Undefined array key 0 [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenMap->get() → CMapHelper::get() → CMapHelper::resolveMapState() → CConfigFile->{closure}() in conf/zabbix.conf.php:89] Trying to access array offset on value of type null [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenMap->get() → CMapHelper::get() → CMapHelper::resolveMapState() → CConfigFile->{closure}() in conf/zabbix.conf.php:89]
Note: additional errors are appearing if built-in host macro is used as the label of the element, but most likely will be solved by fix of the initial issue.
See screenshot (if macros present in the label):
Expected:
Element should be removed, no errors should occur.