-
Problem report
-
Resolution: Fixed
-
Minor
-
4.4.2rc2, 5.0.0alpha1
-
Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
-
0.25
Problem description: Undefined offset errors are observed in the "Problems by severity" widget when it is created with "Show" set to "Totals" and when only certain severities are displayed on the widget - 2 errors per each filtered severity:
Undefined offset: 5 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsBySvView->doAction() → getSystemStatusTotals() in include/blocks.inc.php:452] Undefined offset: 5 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsBySvView->doAction() → getSystemStatusTotals() in include/blocks.inc.php:454]
Steps to reproduce:
- Navigate to Monitoring => Dashboards and open any dashboard
- Add a "Problems by severity" widget with the following parameters:
"Severity" = select any severities but not all of them
"Show" = Totals
Result: The following errors are returned in the widget for each severity that was filtered out:
Undefined offset: 5 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsBySvView->doAction() → getSystemStatusTotals() in include/blocks.inc.php:452] Undefined offset: 5 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsBySvView->doAction() → getSystemStatusTotals() in include/blocks.inc.php:454]
Expected: No errors should be displayed in the widget.
- duplicates
-
ZBX-16999 Error in vertical widget
- Closed