[ZBX-7079] Undefined index if no icons exist Created: 2013 Sep 30  Updated: 2017 May 30  Resolved: 2013 Oct 08

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

Type: Incident report Priority: Minor
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, images, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If no icons exist in the database, undefined index errors appear in the map configuration page:

    Undefined index: defaultIconId [sysmap.php:202 ? CView->render() ? include() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/views/configuration.sysmap.constructor.php:101]
    Undefined index: defaultIconName [sysmap.php:202 ? CView->render() ? include() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/views/configuration.sysmap.constructor.php:102]

Broken in:
------------------------------------------------------------------------
r38040 | vitalij | 2013-08-22 10:59:35 +0300 (Thu, 22 Aug 2013) | 1 line

..F....... ZBX-6868 maps default add icon defined in defines.inc.php
------------------------------------------------------------------------



 Comments   
Comment by Eduards Samersovs (Inactive) [ 2013 Oct 08 ]

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

Comment by Alexander Vladishev [ 2013 Oct 08 ]

Successfully tested!

Comment by Eduards Samersovs (Inactive) [ 2013 Oct 08 ]

Fixed in versions pre-2.1.7 (trunk) r.39101

Generated at Tue Apr 23 13:15:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.