Steps to reproduce:
- import attached XML file zbx_export_templates(1).xml
Result:
Undefined offset: 10449 [conf.import.php:166 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1080] Field "parent_itemid" cannot be set to NULL. [conf.import.php:166 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->createEntitiesWithDependency() → CItemPrototype->create() → CItemPrototype->inherit() → CItemPrototype->createReal() → DB::insertBatch() → DB::checkValueTypes() → DB::exception() in include/classes/db/DB.php:349]
- duplicates
-
ZBX-14865 importing template error - Field "parent_itemid" cannot be set to NULL
- Closed