[ZBX-5945] Map URLs are not displayed on screens Created: 2012 Dec 05  Updated: 2017 May 30  Resolved: 2013 Feb 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.3, 2.1.0
Fix Version/s: 2.0.5rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: maps, screens, urls
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

URLs that are defined in a map are not present in the pop up menu when viewing the map on a screen.



 Comments   
Comment by Eduards Samersovs (Inactive) [ 2013 Jan 31 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5945

Comment by Oleg Egorov (Inactive) [ 2013 Jan 31 ]

TESTED.

Comment by Eduards Samersovs (Inactive) [ 2013 Feb 01 ]

Fixed in versions pre-2.1.0 (beta) r33325, pre-2.0.5rc1 r33324

Comment by Toms (Inactive) [ 2013 Feb 01 ]

in 2.0
(1)
Have map A with url:

  • Name: url1 | url: www.url1.com | Element: Map

Have another empty map B;

Add B to A as a map element;

Make following API call:
{"jsonrpc":"2.0","method":"map.get","params":

{"selectSelements":"extend","expandUrls":true}

,"id":17,"auth":"bd9ba96e66f9ea6177d078d6e969e8da"}

Part of results:
"width": "200",
"height": "200",
"viewtype": "0",
"use_iconmap": "0",
"urls": [

{ "sysmapurlid": "6", "sysmapid": "10", "name": "url1", "url": "www.url1.com", "elementtype": "1" }

]

should be:

"width": "200",
"height": "200",
"viewtype": "0",
"use_iconmap": "0",
"urls": {
"6":

{ "sysmapurlid": "6", "sysmapid": "10", "name": "url1", "url": "www.url1.com", "elementtype": "1" }

}

jelisejev This is only a problem for 2.0, it the trunk it should be that way.
Eduards In "urls" array we keep local and global urls, so we can't use hashes.

tomtom CLOSED. But this though unintentional bug fix, that url ids can overlap, and we could not get some urls should be mentioned in changelog and API changelog as wel.

Generated at Sat Apr 27 00:59:49 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.