-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
6.0.18, 6.4.3, 7.0.0alpha1
-
None
-
Oracle Linux 8/LTS 6.0 upgraded from LTS 3.0
Steps to reproduce:
- upgrade from old 3.0
- try to import fresh template from git.zabbix.com, like 'Zabbix server health' with 'Delete missing' set.
Result:
[Wed Jun 07 08:08:24.910938 2023] [php:error] [pid 2980640] [client x.x.x.x:60768] PHP Fatal error: Uncaught TypeError: CControllerPopupImportCompare::objectToRows(): Argument #4 ($id) must be of type string, null given, called in /usr/share/zabbix/app/controllers/CControllerPopupImportCompare.php on line 452 and defined in /usr/share/zabbix/app/controllers/CControllerPopupImportCompare.php:323\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerPopupImportCompare.php(452): CControllerPopupImportCompare->objectToRows()\n#1 /usr/share/zabbix/app/controllers/CControllerPopupImportCompare.php(146): CControllerPopupImportCompare->blocksToDiff()\n#2 /usr/share/zabbix/include/classes/mvc/CController.php(472): CControllerPopupImportCompare->doAction()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(542): CController->run()\n#4 /usr/share/zabbix/include/classes/core/ZBase.php(222): ZBase->processRequest()\n#5 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()\n#6 /usr/share/zabbix/zabbix.php(22): require_once('...')\n#7 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerPopupImportCompare.php on line 323, referer:
Expected:
Template imported without error.
- duplicates
-
ZBXNEXT-8078 Remove unnecessary new line for each element in array for export .yaml templates
- Closed