[ZBX-4618] Zabbix API map.get switches iconid_on with iconid_off Created: 2012 Feb 07  Updated: 2017 May 30  Resolved: 2012 Aug 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 1.8.8
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Michiel Alders Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: API
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File zabbix_map_item.png    

 Description   

When using map.get the 'iconid_on' and 'iconid_off' are switched.

'iconid_on' contains the value (imageid) from 'iconid_off' and 'iconid_off' contains the value from 'iconid_on'

In the attached screenshot the red numbers are the imageid from the images table, when retrieving the values with the zabbix API the numbers for 'iconid_on' and 'iconid_off' are switched.



 Comments   
Comment by Alexei Vladishev [ 2012 Feb 21 ]

I cannot reproduce it in pre-1.8.11, revision 25491. The icons are displayed according to database data.

Comment by richlv [ 2012 Aug 23 ]

please reopen if still reproducible

Generated at Tue Apr 08 23:13:30 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.