Steps to reproduce:
The issue was discovered ** running "build template" job in Jenkins (for master branch).
runtime error
Runtime errors: Undefined offset: 39 [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->updateItemsWithDependency() -> CConfigFile->{closure}() in include/classes/import/CConfigurationImport.php:894] TypeError: Argument 1 passed to CImportReferencer::setDbItem() must be of the type string, null given, called in /home/jenkins/workspace/zabbix-6.2/build-templates/sources/ui/include/classes/import/CConfigurationImport.php on line 894 and defined in /home/jenkins/workspace/zabbix-6.2/build-templates/sources/ui/include/classes/import/CImportReferencer.php:749
manually you can repeat this steps:
1) go to Configuration->Templates.
2) Press import.
3) import template - templates/app/proxmox/template_app_proxmox.yaml
- depends on
-
ZBXNEXT-6470 Make audit log complete and reliable
- READY TO DEVELOP
- duplicates
-
ZBX-19375 Missing check on the same uuid in file
- Closed