-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
4.0.23, 5.0.2, 5.2.0alpha1
Steps to reproduce:
- Create host with interface
- Add item with type Zabbix Agent
- Export host
- Change item interface reference to nonexisting in xml file
- Import file
Result:
Undefined index: if2 [conf.import.php:166 -> CApiWrapper->__call() -> CFrontendApiWrapper->callMethod() -> CApiWrapper->callMethod() -> CFrontendApiWrapper->callClientMethod() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processItems() -> CConfigFile->{closure}() in include/classes/import/CConfigurationImport.php:743]
Expected:
Error message "No interface found." with no error before.
- duplicates
-
ZBX-18181 Undefined index when import xml with wrong item interface reference
- Closed