[ZBX-5480] new map element icons default to the first image Created: 2012 Aug 22  Updated: 2017 May 30  Resolved: 2012 Aug 29

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

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: maps, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

create a new map, add a new element to it. change type to host.
non-default images all are set to the first image, not "default".

they should be set to "Default" (unless we believe all users would like to use cloud (128) as the default image )

this is a regression from 1.8



 Comments   
Comment by Alexei Vladishev [ 2012 Aug 29 ]

Reproducible in Firefox, works fine in Chrome.

Comment by richlv [ 2012 Aug 29 ]

interesting. also reproducible in opera, works as expected in konqueror

Comment by Eduards Samersovs (Inactive) [ 2012 Aug 29 ]

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

Comment by richlv [ 2012 Aug 29 ]

(1) th double spacing in fsf mailing address was actually intentional - probably should be returned

<Eduard> RESOLVED

<Toms> CLOSED

Comment by richlv [ 2012 Aug 29 ]

(2) would be useful to note all changes done here - i believe "icon remembering" was removed ?
a quick note on what caused the original issue would also be appreciated

<Eduard> "Icon remembering" was real bug!, because it was simply forgotten update this 3 fields from the previous form opening.
Element form is general for all element, so every time when we open it we must to update all fields with the element data. If element is new, hi don't have "Icon remembering" variables so we must to reset it into default state.

<richlv> CLOSED

Comment by Toms (Inactive) [ 2012 Aug 30 ]

Review my changes, if OK merge

Comment by Toms (Inactive) [ 2012 Aug 30 ]

TESTED

Comment by Eduards Samersovs (Inactive) [ 2012 Aug 30 ]

Fixed in versions pre-2.1.0 (beta) r29948, pre-2.0.3 r29947

Generated at Thu Apr 25 09:36:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.