-
Incident report
-
Resolution: Duplicate
-
Critical
-
None
-
2.2.7, 2.4.2, 2.5.0
Undefined index: parentId [hosts.php:482 ? 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 api/classes/managers/CHttpTestManager.php:449] Undefined index: childId [hosts.php:482 ? 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 api/classes/managers/CHttpTestManager.php:450] Incorrect field "itemid" name or value in where statement for table "items". [hosts.php:482 ? 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() ? DB::update() ? DB::exception() in include/classes/db/DB.php:546]
This happens on linking the web scenario already existing on the host.
Steps to reproduce the problem:
- create Template web_scenario_template
- create Web scenario web_scenario in web_scenario_template
- create host web_host with linked template web_scenario_template
- unlink web_scenario_template
- link web_scenario_template again
- duplicates
-
ZBX-8486 Web scenario can't be re-linked
- Closed