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

Details

    • Team A
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.25

    Description

      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:

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: