[ZBX-6290] Icon mappings broken Created: 2013 Feb 18  Updated: 2017 May 30  Resolved: 2013 Feb 20

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

Type: Incident report Priority: Blocker
Reporter: Andres Abelardo Villarroel Acosta Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: iconmapping, inventory, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS Linux release 6.0 (Final)
Release: 6.0
Codename: Final

php -v
PHP 5.3.8 (cli) (built: Sep 25 2011 11:33:49)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Jul 7 2011 11:30:37

/usr/libexec/mysqld -V
/usr/libexec/mysqld Ver 5.5.23 for Linux on x86_64 (MySQL Community Server (GPL) by Remi)


Attachments: PNG File 2013-02-18-113807_1280x1024_scrot.png     PNG File 2013-02-18-113931_1280x1024_scrot.png     PNG File 2013-02-18-113936_1280x1024_scrot.png    

 Description   

Installed 2.0.4, after 2.0.5 upgrade frontend, maps with icon mappings shows the attached error. No database upgrade done.

Undefined index: os_full [include/maps.inc.php:2219]
Undefined index: type [include/maps.inc.php:2219]



 Comments   
Comment by Virchich Ruslan [ 2013 Feb 18 ]

I have the same issue.
Problem appeared when I upgraded from 2.0.3 to 2.0.5

Comment by Oleksii Zagorskyi [ 2013 Feb 19 ]

This problem looks very similar to (29) in ZBXNEXT-1323 which related to trunk only.
I was able to reproduce it on 2.0.5 release with a bit different conditions (than in the ZBXNEXT-1323):

1. any dummy automatic icon mapping should exist
2. this icon mapping is selected in a map configuration
3. "Automatic icon selection" in a map element should be enabled and this map element should be a host
4. "Host inventory" mode for this host is Manual or Automatic (is there any value for inventory or not - doesn't matter)

CONFIRMED

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

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

Comment by Pavels Jelisejevs (Inactive) [ 2013 Feb 21 ]

TESTED.

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

Fixed in versions pre-2.1.0 (beta) r33833, pre-2.0.6rc1 r33834

Comment by Volker Fröhlich [ 2013 Mar 07 ]

Will be included in EPEL 2.0.5 releases after 2.0.5-1.

Generated at Fri Apr 26 16:26:02 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.