[ZBX-6635] "Undefined index: iconmappingid" and other errors when creating an icon map Created: 2013 May 29  Updated: 2017 May 30  Resolved: 2013 May 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 2.1.0

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


 Description   

create a new iconmap, leave one expression field empty, try to save :

Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

fill in the expression field, try to save.

Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: expression [views/administration.general.iconmap.edit.php:54]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
Undefined index: expression [views/administration.general.iconmap.edit.php:54]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

regression, broken by :

r31864 | pavels | 2012-12-04 11:51:13 +0200 (Tue, 04 Dec 2012) | 4 lines

A.F....... ZBX-5927 fixed selectMappings returning a hash of mappings instead of an array in iconmap.get
A.F....... ZBX-5927 fixed preservekeys affecting selectSelements and selectLinks in map.get
A.F....... ZBX-5927 removed unused selectLinks parameter from CMapElement::getSelements()
A......... ZBX-5927 code refactoring



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2013 May 30 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6635.

Comment by Oleg Egorov (Inactive) [ 2013 May 30 ]

TESTED

Comment by Pavels Jelisejevs (Inactive) [ 2013 May 31 ]

Fixed in 2.1.0 r36019.

CLOSED.

Generated at Sat Apr 27 06:06:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.