[ZBX-8308] api itemprototype.create cannot reuse data from itemprototype.get Created: 2014 Jun 05 Updated: 2017 May 30 Resolved: 2014 Jun 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.2.2, 2.2.3 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Boris Manojlovic | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | api, itemprototype, lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | zabbix-frontend.patch |
Description |
For purpose of generating discovery rules based on special discovery template it is not possible without attached patch to pass required information about applications. Current implementation does not allow associated array to be sent over api just plain list. Patch changes this behavior using zbx_objectValues unpacking, and allows both ways of passing info into system. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jun 10 ] |
This is not a bug. The "applications" parameter accepts an array of application IDs by design. We don't aim at using similar data structures for get and create methods. CLOSED. |