[ZBX-4784] Template triggers are updated on every host update. Created: 2012 Mar 20  Updated: 2017 May 30  Resolved: 2012 Apr 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc1
Fix Version/s: 2.0.0rc3

Type: Incident report Priority: Major
Reporter: Alexey Fukalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Have a host with linked template with triggers, try to update this host, all template triggers are updated, even though nothing changed on host.



 Comments   
Comment by Toms (Inactive) [ 2012 Mar 26 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4784

Comment by Alexey Fukalov [ 2012 Mar 26 ]

(1)
Problem in frontend is fixed but it's hack for frontend only.
API methods host.massAdd, template.massAdd should support hosts and templates even if they already linked, i.e. problem is in template.link method, not in host.update.

<Toms> RESOLVED in r26422

<Vedmak> CLOSED
Please review my changes in rev. 26424. If everything is fine, can be merged.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 29 ]

(2) I've reverted the fix because it broke cross-template trigger dependencies (ZBX-4333). This has to be fixed differently.

REOPENED.

Comment by Alexey Fukalov [ 2012 Apr 02 ]

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

Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 05 ]

Please review my changes in r26657. I everything is ok - you can merge.

TESTED.

Comment by Alexey Fukalov [ 2012 Apr 05 ]

svn://svn.zabbix.com/trunk 26664

Generated at Thu Apr 25 07:23:54 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.