Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9056

"Undefined index" on re-linking the web scenario

    XMLWordPrintable

Details

    Description

      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:

      1. create Template web_scenario_template
      2. create Web scenario web_scenario in web_scenario_template
      3. create host web_host with linked template web_scenario_template
      4. unlink web_scenario_template
      5. link web_scenario_template again

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sasha Alexander Vladishev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: