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

SVG graph widgets not displaying data for time periods containing "/" modifiers

XMLWordPrintable

    • Sprint 81 (Oct 2021)
    • 0.5

      This issue can produce PHP fatal error:

      PHP Fatal error:  Uncaught DivisionByZeroError: Modulo by zero in include/classes/api/managers/CHistoryManager.php:926
      Stack trace:
      #0 include/classes/api/managers/CHistoryManager.php(741): CHistoryManager->getGraphAggregationByWidthFromSql()
      #1 include/classes/helpers/CSvgGraphHelper.php(299): CHistoryManager->getGraphAggregationByWidth()
      #2 include/classes/helpers/CSvgGraphHelper.php(62): CSvgGraphHelper::getMetricsData()
      #3 app/controllers/CControllerWidgetSvgGraphView.php(118): CSvgGraphHelper::get()
      #4 include/classes/mvc/CController.php(465): CControllerWidgetSvgGraphView->doAction()
      #5 include/classes/core/ZBase.php(526): CController->run()
      #6 include/classes/core/ZBase.php(210): ZBase->processRequest()
      #7 incl in include/classes/api/managers/CHistoryManager.php on line 926, referer: zabbix.php?action=dashboard.view&dashboardid=35

            averza Andrejs Verza
            sasha Alexander Vladishev
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: