[ZBX-6922] It's not possible to import the host. Created: 2013 Aug 23 Updated: 2017 May 30 Resolved: 2013 Aug 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 2.0.7, 2.0.8 |
Fix Version/s: | 2.0.9rc1, 2.1.3 |
Type: | Incident report | Priority: | Critical |
Reporter: | Andrei Gushchin (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | hostinterfaces, import, regression | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | ImportHostError.png ImportHostError.xml | ||||||||
Issue Links: |
|
Description |
That host has been imported in Zabbix 2.0.6 version. Undefined offset: 0 [include/db.inc.php:1119] |
Comments |
Comment by Andrei Gushchin (Inactive) [ 2013 Aug 23 ] |
It works fine for the 2.0.6 and trunk versions. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 23 ] |
This could be the same problem as |
Comment by Eduards Samersovs (Inactive) [ 2013 Aug 27 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6922 |
Comment by Alexander Vladishev [ 2013 Aug 27 ] |
(1) It is a useless code if $sort is false. Better to move it under "if ($sort) {...}". $values = array_values($values); Eduards RESOLVED r.38164 sasha CLOSED |
Comment by Alexander Vladishev [ 2013 Aug 27 ] |
(2) Please review a new tests (r38151). Eduards OK |
Comment by Alexander Vladishev [ 2013 Aug 28 ] |
Successfully tested! |
Comment by Eduards Samersovs (Inactive) [ 2013 Aug 28 ] |
Fixed in versions pre-2.1.3 (trunk) r.38174, pre-2.0.9rc1 r.38173 |
Comment by Volker Fröhlich [ 2013 Sep 25 ] |
Will be in EPEL 2.0.8-3 packages. |