-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
2.2.9
-
None
Importing XML without macros section shows error and doesn't remove moacros.
Undefined index: macros [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->gatherReferences() in /usr/share/zabbix/include/classes/import/CConfigurationImport.php:229] Invalid argument supplied for foreach() [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->gatherReferences() in /usr/share/zabbix/include/classes/import/CConfigurationImport.php:229] Invalid argument supplied for foreach() [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->resolveHostReferences() in /usr/share/zabbix/include/classes/import/importers/CHostImporter.php:152]
I tried the same for inventory. Inventory configurations are removed without errors while importing XML files that does't have <inventory/> section.
- duplicates
-
ZBX-7492 Undefined index if import XML is without macros.
- Closed