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

After upgrading to Zabbix 4.0 from 3.0 maps are not rendered anymore

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 4.0.0
    • Frontend (F)
    • Debian Linux, Debian package install, PostgreSQL DB

      Steps to reproduce:

      1. Open Map
      2. Only one item is show (no legend)
      3. JavaScript error in console

      OR

      1. Edit Map
      2. Elements visible (no legend), but no connection lines
      3. JavaScript error in console

      Even when I create a blank new map, I see only one element after saving and in edit I never see the connection lines

      Result:
      See screenshot...

      Screen Shot 2018-10-19 at 15.50.19.png: Map view

      Screen Shot 2018-10-19 at 15.50.47.png: Edit Map view

      See log file...

      jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2049 Uncaught TypeError: Cannot convert undefined or null to object
       at Function.keys (<anonymous>)
       at SVGElement.update (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2049)
       at SVGElement.create (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2158)
       at new SVGElement (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1980)
       at SVGCanvas.createElement (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1337)
       at SVGTextArea.create (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1753)
       at SVGCanvas.createElement (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1334)
       at SVGElement.add (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2015)
       at SVGMapElement.updateLabel (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2967)
       at SVGMapElement.update (jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:3043)
      SVGElement.update @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2049
      SVGElement.create @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2158
      SVGElement @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1980
      SVGCanvas.createElement @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1337
      SVGTextArea.create @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1753
      SVGCanvas.createElement @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1334
      SVGElement.add @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2015
      SVGMapElement.updateLabel @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2967
      SVGMapElement.update @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:3043
      (anonymous) @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2583
      SVGMap.updateItems @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2578
      (anonymous) @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2692
      ImageCache.invokeCallback @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1847
      ImageCache.handleCallback @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1866
      ImageCache.onImageLoaded @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1878
      image.onload @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1935
      load (async)
      (anonymous) @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1934
      ImageCache.preload @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:1918
      SVGMap.update @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2690
      SVGMap @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:2370
      add @ jsLoader.php?files[]=gtlc.js&files[]=flickerfreescreen.js&files[]=class.svg.canvas.js&files[]=class.svg.map.js&files[]=layout.mode.js&files[]=servercheck.js&lang=en_GB:768
      (anonymous) @ zabbix.php?action=map.view&sysmapid=2:39
      fire @ jsLoader.php?ver=4.0.0&lang=en_GB&showGuiMessaging=1:10086
      fireWith @ jsLoader.php?ver=4.0.0&lang=en_GB&showGuiMessaging=1:10198
      ready @ jsLoader.php?ver=4.0.0&lang=en_GB&showGuiMessaging=1:7471
      completed @ jsLoader.php?ver=4.0.0&lang=en_GB&showGuiMessaging=1:7142

      Expected:
      See map with all items and connections

            Unassigned Unassigned
            gullevek Clemens Schwaighofer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: