[ZBX-5437] PHP errors when listing items in a template Created: 2012 Aug 10 Updated: 2017 May 30 Resolved: 2012 Aug 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.2 |
Fix Version/s: | 2.0.3rc1, 2.1.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Andrew Howell | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 6.3 |
Attachments: | items-pic1.PNG | ||||||||
Issue Links: |
|
Description |
When listing items in some templates (Configuration->Templates then click on Items for a template) I get the following php errors Undefined variable: interface [include/classes/helpers/trigger/CTriggerDescription.php:358] |
Comments |
Comment by Alexander Vladishev [ 2012 Aug 11 ] |
It's happens if trigger names contain interface-based macros. |
Comment by Alexey Fukalov [ 2012 Aug 22 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5437 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 23 ] |
(1) The same problem persists on the availability report page, templated trigger selection pop up. Probably, all pages where templated triggers are used. <Vedmak> RESOLVED also macro that cannot be resolved now expands to UNKNOWN <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 24 ] |
(2) Macros should not be resolved in the availability report template trigger filter. <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 24 ] |
(3) Minor code issues:
<Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 24 ] |
TESTED. |
Comment by Alexey Fukalov [ 2012 Aug 24 ] |
Fixed in 2.0.3rc1 29832, 2.1.0rc1 29833 |