[ZBX-5471] Undefined index: items when copying a trigger from host to template Created: 2012 Aug 21  Updated: 2017 May 30  Resolved: 2012 Aug 22

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

Type: Incident report Priority: Critical
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: templates, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

have template TE and host H.
create item I on TE.
create trigger TR on H that uses I.
copy TR from H to TE :

Undefined index: items [include/audit.inc.php:96]



 Comments   
Comment by Alexey Fukalov [ 2012 Aug 21 ]

create item I on TE.
create trigger TR on H that uses I.

How can I create trigger for host that use item from template?

<richlv> just use that item (on the host) for the trigger

oh, well, the template should be linked to the host =)

Comment by Alexey Fukalov [ 2012 Aug 22 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5471

Comment by Pavels Jelisejevs (Inactive) [ 2012 Aug 22 ]

TESTED.

Comment by Alexey Fukalov [ 2012 Aug 22 ]

Fixed in 2.0.3rc1 29737, 2.1.0rc1 29738

Generated at Tue Apr 23 22:48:58 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.