[ZBX-4573] API call to delete templates doesn't do anything Created: 2012 Jan 23 Updated: 2017 May 30 Resolved: 2012 Mar 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Timo A. Hummel | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
When attempting to use the template.delete call, the specified template(s) don't get deleted. I tried to track the problem down, but the code is really hard to follow. So this bug serves as a host bug for all subsequent bugs I'll find. Basically, the API call fails due to a rollback caused by invalid SQL statements. |
Comments |
Comment by Timo A. Hummel [ 2012 Jan 23 ] |
This issue depends on |
Comment by Alexei Vladishev [ 2012 Jan 26 ] |
Please post JSON request and response here. |
Comment by Timo A. Hummel [ 2012 Jan 26 ] |
Call: {"jsonrpc":"2.0","id":"4f214b173915b","auth":"aabb913b0b0a31fd8abaca630b385610","method":"template.delete","params":["10001"]}Response: {"templateids":["10001"]}The bug is described in |