I have a working setup of zabbix 6.4.5 working without issues, I would like to update the cisco template that I am using because it's quite old (it was first installed on zabbix 4.4.x).
The template I'm using is from git (the version tagged with 6.4.5 here)
The issue is that when going trhough the update process Templates -> Import -> (update,create and delete marked) I get an error about some undefined flags

Looking into the source code the relevant part is this conditon:
Any directions?
The template I'm using is from git (the version tagged with 6.4.5 here)
The issue is that when going trhough the update process Templates -> Import -> (update,create and delete marked) I get an error about some undefined flags
Undefined array key "flags" [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processTemplates() → CTemplateImporter->import() → CTemplate->update() → CHostGeneral->updateTemplates() → CHostGeneral::unlinkTemplatesObjects() → CItem::unlinkTemplateObjects() → CItem::inherit() → CItem::inheritChunk() → CItem::checkInventoryLinks() in include/classes/api/services/CItem.php:1420]
Looking into the source code the relevant part is this conditon:
if ($item['flags'] == ZBX_FLAG_DISCOVERY_NORMAL && in_array($item['value_type'], $value_types)) {
Comment