-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.4.6, 7.0.0alpha4, 7.0.0alpha5, 7.0 (plan)
-
Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), S24-W10/11, S24-W12/13
-
1
Steps to reproduce:
- Create LLD rule
- Create host prototype, which contains macros
- Discover one or multiple hosts, using created LLD rule
- Open configuration of discovered host
- Open Macros tab
- Switch between tabs Inherited and Host macros / Host macros
Result:
The runtime error appears when switching back to Host macros
Undefined array key "value" [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CPartial->getOutput() → include() → CConfigFile->{closure}() in conf/zabbix.conf.php:89] Undefined array key "description" [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CPartial->getOutput() → include() → CConfigFile->{closure}() in conf/zabbix.conf.php:89] Undefined array key "type" [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CPartial->getOutput() → include() → CConfigFile->{closure}() in conf/zabbix.conf.php:89]
Expected result
No errors should appear. Macros, that are added via Host prototype should work as expected