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

Graph configuration is broken with large amount of items

XMLWordPrintable

    • Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
    • 0.5

      Steps to reproduce:
      1) Navigate to graph configuration of host or template with at least 100+ items
      2) Create a new graph and add as much items as you can
      3) Change Graph type
      4) See what happens when page reloads

      Result:
      1) items are listed starting with number '2';
      2) only 98 or sometimes 99 items are listed;
      3) PHP error appears:

      Undefined index: itemid [ in graphs.php:575]
      reset() expects parameter 1 to be array, null given [graphs.php:575 → reset() in graphs.php:575]
      Undefined index: itemid [ in graphs.php:578]
      Undefined index: hostid [ in graphs.php:578]
      Undefined index: itemid [ in graphs.php:579]
      Undefined index: name [ in graphs.php:579]
      Undefined index: itemid [ in graphs.php:580]
      Undefined index: key_ [ in graphs.php:580]
      Undefined index: itemid [ in graphs.php:581]
      Undefined index: flags [ in graphs.php:581]
      Undefined index: sortorder [ in graphs.php:597]
      Undefined index: drawtype [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:410]
      Undefined index: yaxisside [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:414]
      Undefined index: itemid [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:418]
      Undefined index: type [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:419]
      Undefined index: calc_fnc [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:419]
      Undefined index: color [graphs.php:629 → CView->render() → include() in include/views/configuration.graph.edit.php:420]

      4) Javascript error appears:

      Uncaught SyntaxError: Unexpected token ,   graphs.php:36 

       

            Miks.Kronkalns Miks Kronkalns
            Miks.Kronkalns Miks Kronkalns
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: