Ad Widget

Collapse

Error on template relinking after unlinking

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hundux
    Junior Member
    • Feb 2013
    • 9

    #1

    Error on template relinking after unlinking

    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".
  • hundux
    Junior Member
    • Feb 2013
    • 9

    #2
    Error disappeared after removing web scenarios from the host manually.

    Seems to be just an non-intuitive message

    Comment

    Working...