-
Problem report
-
Resolution: Fixed
-
Major
-
None
-
4.0.0
-
Debian Linux, Debian package install, PostgreSQL DB
Steps to reproduce:
- Open Map
- Only one item is show (no legend)
- JavaScript error in console
OR
- Edit Map
- Elements visible (no legend), but no connection lines
- 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