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

Web items usage in trigger cause error on problem view page

XMLWordPrintable

    • Sprint 76 (May 2021)
    • 0.125

      Steps to reproduce:

      1. Create web scenario.
      2. Create trigger using web scenario item.
      3. Make trigger go in problem state.
      4. Open Monitoring -> Problems page

      Result:

          Undefined offset: 34836 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::getData() in include/classes/screens/CScreenProblem.php:344]
          Undefined offset: 34837 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::getData() in include/classes/screens/CScreenProblem.php:344]
          Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2820]
          Undefined index: [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2820]
          Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2820]
          Undefined index: [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2820]
          Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::resolveItemNames() → CMacrosResolver->resolveItemNames() in include/classes/macros/CMacrosResolver.php:1509]
          Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CScreenProblem->get() → CScreenProblem::makeData() → CMacrosResolverHelper::resolveItemNames() → CMacrosResolver->resolveItemNames() in include/classes/macros/CMacrosResolver.php:1509]

      Expected:
      No errors

      Detailed information can be found in ZBX-15532.

            sasha Alexander Vladishev
            gcalenko Gregory Chalenko
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: