[ZBX-4257] Discovery rules are incorrectly linked when using multiple-level templates Created: 2011 Oct 20 Updated: 2017 May 30 Resolved: 2012 Mar 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.7 (beta) |
Fix Version/s: | 2.0.0rc2 |
Type: | Incident report | Priority: | Blocker |
Reporter: | dimir | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | discovery, lld, templates | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
MySQL 5.0, latest trunk |
Attachments: |
![]() ![]() |
||||||||||||
Issue Links: |
|
Description |
When editing discovery rule GUI gives error: "Discovery rule "tmpl1:zzz" already exists, inherited from another template." for one of the linked template. So you need 3 linked templates ("tmpl1" -> "tmpl2"; "tmpl2" -> "tmpl3") with discovery rule in "tmpl3". Steps to reproduce: NB! The bug appears to happen when making steps 8 and 9. Mind that if you do them vise versa (first linkt "tmpl2" to "tmpl3" and after that "tmpl1" to "tmpl2") the bug won't happen. But even in this case any changes in "tmpl3" will not be propagated to "tmpl1". |
Comments |
Comment by richlv [ 2011 Oct 20 ] |
basically, lower level discovery rule (item) gets incorrectly linked to the highest level one (not the direct parent). this makes it impossible to update or delete this discovery rule (it can only be removed by deleting the whole template) |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 09 ] |
The problem Rich described has been fixed in RESOLVED. <Vedmak> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 14 ] |
Fixed in the trunk r26065. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 15 ] |
(1) This caused a regression: a discovery rule can't be created because of "Incorrect arguments passed to function." <pavels> RESOLVED in /branches/dev/ <Vedmak> Please review my changes in rev. 26179, if everything is ok, can be merged. <pavels> Fixed in trunk r26184. CLOSED. |