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

Undefined array key error during dashboard loading with Problem widget

XMLWordPrintable

    • S24-W26/27
    • 0.25

      Steps to reproduce:

      1. Create hosts
      2. Create problems for this hosts
      3. Create maintenance rule for some hosts with problems
      4. Create user and give access to the hosts
      5. Create dashboard with a Problem Widget
      6. Activate 'Show suppressed problem'
      7. Open with simple user

      Result:

      Undefined array key 26 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → Widgets\Problems\Actions\WidgetView->doAction() → CScreenProblem::makeData() → CScreenProblem::addSuppressionNames() in include/classes/screens/CScreenProblem.php:404]
      Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → Widgets\Problems\Actions\WidgetView->doAction() → CScreenProblem::makeData() → CScreenProblem::addSuppressionNames() in include/classes/screens/CScreenProblem.php:404]
      

      Expected:
      No errors/warnings.

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/ui/include/classes/screens/CScreenProblem.php?at=refs%2Fheads%2Frelease%2F6.4#404

            ddauksa Diana Dauksa
            edgar.akhmetshin Edgar Akhmetshin
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: