[ZBX-10399] Latest data PHP warnings Created: 2016 Feb 17 Updated: 2017 May 30 Resolved: 2016 Feb 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 3.0.0 |
Fix Version/s: | 3.0.1rc1, 3.2.0alpha1 |
Type: | Incident report | Priority: | Critical |
Reporter: | Frank | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | valuemapping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 14.04, MariaDB 10.1, repo.zabbix.com packages |
Description |
After upgrading from 2.4 to 3.0 we are now getting PHP warnings at the bottom of the latest.php page:
|
Comments |
Comment by Frank [ 2016 Feb 17 ] |
This seems to happen because the upgrade corrupted some of the Value mappings (e.g. "Zabbix agent ping status"). |
Comment by Alexander Vladishev [ 2016 Feb 17 ] |
It happen with Value mappings without mappings. With correct database it can't happen. In any case the API code will be improved to exclude such errors. |
Comment by Alexander Vladishev [ 2016 Feb 17 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10399 |
Comment by richlv [ 2016 Feb 17 ] |
for the record, value maps w/o entries could have happened because of some bug in an older zabbix version - the same issue is present on zabbix.org demo instance, too |
Comment by Ivo Kurzemnieks [ 2016 Feb 18 ] |
(1) No translation string changes. sasha CLOSED |
Comment by Ivo Kurzemnieks [ 2016 Feb 18 ] |
TESTED |
Comment by Alexander Vladishev [ 2016 Feb 19 ] |
Fixed in pre-3.0.1rc1 r58606 and pre-3.1.0 (trunk) r58607. |