-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.29rc1
-
Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
-
1
Steps to reproduce:
- Create or import a template with the name 'test' e.g. zbx_export_templates.xml
- Import the host with the name 'test' using the import file host_with_same_name.xml
Result: Undefined offset error appears:
Undefined offset: 10437 [conf.import.php:89 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHosts() → CHostImporter->import() → CHostImporter->addInterfaceIds() → CConfigFile->{closure}() in conf/zabbix.conf.php:73] Invalid argument supplied for foreach() [conf.import.php:89 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHosts() → CHostImporter->import() → CHostImporter->addInterfaceIds() → CConfigFile->{closure}() in conf/zabbix.conf.php:73]