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

Undefined offset runtime error in Graph prototype preview

XMLWordPrintable

    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023)
    • 0.25

      Steps to reproduce:

      1. Open a clean zabbix installation
      2. Navigate to Contifugariont -> Hosts -> Zabbix server -> List of discovery rules
      3. Open graph prototype "Disk read/write rates" that belong to discovery rule "Block devices discovery"
      4. Open preview tab

      Result:
      The following errors are observed:

      Undefined offset: 31284 [chart3.php:194 -> CLineGraphDraw->draw() -> CLineGraphDraw->expandItems() -> CConfigFile->{closure}() in include/classes/graphdraw/CLineGraphDraw.php:2005]
      Trying to access array offset on value of type null [chart3.php:194 -> CLineGraphDraw->draw() -> CLineGraphDraw->expandItems() -> CConfigFile->{closure}() in include/classes/graphdraw/CLineGraphDraw.php:2007]
      Trying to access array offset on value of type null [chart3.php:194 -> CLineGraphDraw->draw() -> CLineGraphDraw->expandItems() -> CConfigFile->{closure}() in include/classes/graphdraw/CLineGraphDraw.php:2008]
      

      Expected: An empty graph should be displayed, no errors should be observed

      Example:

            esekace Eliza Sekace
            solonkins Sergejs Olonkins
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: