[ZBX-5643] API allow create circular dependencies on Trigger addDependencies() Created: 2012 Oct 02 Updated: 2017 May 30 Resolved: 2012 Oct 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.0.2 |
Fix Version/s: | 2.0.4rc1, 2.1.0 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Oleg Egorov (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | circular | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | bug.bmp |
Description |
API Request: [ {"triggerid":"13527","dependsOnTriggerid":"13528"}, {"triggerid":"13528","dependsOnTriggerid":"13527"}] Result on image |
Comments |
Comment by Toms (Inactive) [ 2012 Oct 05 ] |
(1) SQL error if dependency added second time oleg.egorov Issue duplicate in |
Comment by Toms (Inactive) [ 2012 Oct 08 ] |
Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5643 |
Comment by Eduards Samersovs (Inactive) [ 2012 Oct 10 ] |
(2) SQL error is showen when if not existing trigger is passed. Will be good to fix. ] "SQL statement execution has failed \"INSERT INTO trigger_depends (triggerid_down,triggerid_up,triggerdepid) VALUES ('135347','13535900000000','41')\"." |
Comment by Eduards Samersovs (Inactive) [ 2012 Oct 17 ] |
Tested! |
Comment by Toms (Inactive) [ 2012 Oct 22 ] |
Fixed in 2.0.4rc1 r31001, 2.1.0 r31003 |