I have two maps that have Host group object on them. Since 2.2 the error is shown when map is loaded
Undefined offset on maps with links and Host groups with Host group elements shown
More on env:
PHP Version => 5.4.5-dev
System => Linux 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64
Current value Required
PHP version 5.4.5-dev 5.3.0 OK
PHP option memory_limit 128M 128M OK
PHP option post_max_size 32M 16M OK
PHP option upload_max_filesize 2M 2M OK
PHP option max_execution_time 300 300 OK
PHP option max_input_time 300 300 OK
PHP time zone Europe/Moscow OK
PHP databases support MySQL
PHP bcmath on OK
PHP mbstring on OK
PHP sockets on OK
PHP gd 2.0 2.0 OK
PHP gd PNG support on OK
PHP gd JPEG support on OK
PHP gd FreeType support on OK
PHP libxml 2.8.0 2.6.15 OK
PHP xmlwriter on OK
PHP xmlreader on OK
PHP ctype on OK
PHP session on OK
PHP session auto start off off OK
PHP gettext on OK
Browsers i tried:
Google Chrome 31.0.1650.57 m and IE 9 - same error appears
Vitaly, I can't seem to reproduce your problem. Could you please export the map and post it here? Feel free to omit any sensitive information it may contain, but keep the structure of the map intact.
Could you please attach the whole XML file?
Pavels, please see attachments again
Ah, sorry, I've missed it. I was able to reproduce the problem with your map, we'll get it fixed in the next release.
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7427.
Steps to reproduce:
1. Create a map;
2. Add an element;
3. Add a host group element, set "Show" to "Host group elements" and "Area type" to "Custom size";
4. Add a link between the two elements;
5. Save the map.
Open the map in the monitoring section and you'll see the indexes.
Fixed in 2.2.2rc1 r40821 and 2.3.0 r40822.