I get this error after these steps.
Unlink (not unlink and clear) a web scenario template from a host
remove a scenario step from the scenario in the removed template
Add the template again to the same host
Click "Save"
ERROR: Cannot update host
Undefined index: parentId [hosts.php:414 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CHost->update() → CHost->massUpdate() → CHost->massAdd() → CHostGeneral->massAdd() → CHostGeneral->link() → CHttpTestManager->link() → CHttpTestManager->inherit() → CHttpTestManager->prepareInheritedHttpTests() → CHttpTestManager->createLinkageBetweenHttpTests() in /opt/zabbix_frontend/php_2.1.0-33994/api/classes/managers/CHttpTestManager.php:432]
Undefined index: childId [hosts.php:414 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CHost->update() → CHost->massUpdate() → CHost->massAdd() → CHostGeneral->massAdd() → CHostGeneral->link() → CHttpTestManager->link() → CHttpTestManager->inherit() → CHttpTestManager->prepareInheritedHttpTests() → CHttpTestManager->createLinkageBetweenHttpTests() in /opt/zabbix_frontend/php_2.1.0-33994/api/classes/managers/CHttpTestManager.php:433]
Incorrect field "itemid" name or value in where statement for table "items".
Unlink (not unlink and clear) a web scenario template from a host
remove a scenario step from the scenario in the removed template
Add the template again to the same host
Click "Save"
ERROR: Cannot update host
Undefined index: parentId [hosts.php:414 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CHost->update() → CHost->massUpdate() → CHost->massAdd() → CHostGeneral->massAdd() → CHostGeneral->link() → CHttpTestManager->link() → CHttpTestManager->inherit() → CHttpTestManager->prepareInheritedHttpTests() → CHttpTestManager->createLinkageBetweenHttpTests() in /opt/zabbix_frontend/php_2.1.0-33994/api/classes/managers/CHttpTestManager.php:432]
Undefined index: childId [hosts.php:414 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CHost->update() → CHost->massUpdate() → CHost->massAdd() → CHostGeneral->massAdd() → CHostGeneral->link() → CHttpTestManager->link() → CHttpTestManager->inherit() → CHttpTestManager->prepareInheritedHttpTests() → CHttpTestManager->createLinkageBetweenHttpTests() in /opt/zabbix_frontend/php_2.1.0-33994/api/classes/managers/CHttpTestManager.php:433]
Incorrect field "itemid" name or value in where statement for table "items".
Comment