[ZBX-5091] parameter templateids for API method "usermacro.get" uses wrong table name "macros_templates" Created: 2012 May 29 Updated: 2017 May 30 Resolved: 2012 May 31 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Documentation (D) |
Affects Version/s: | 1.8.14rc1 |
Fix Version/s: | 1.8.14rc1 |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Martins Valkovskis |
Resolution: | Fixed | Votes: | 0 |
Labels: | API, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
(1) [Code of 1.8] (2) [Documentation] Response: ], ], where: Generated SQL: I do not see much sense to have such feature (IMO) and definitely its description in documentation is BAD. So, consider to: My suggestion is: "Select all host macros from hosts which linked to given templates." Current description "Template IDs" it very similar to a "Host IDs" description for a hostids parameter, which can be interpreted as "select macros from templates" but actually its meaning is absolutely different. How users can guess what "templateids" means ? |
Comments |
Comment by Alexey Fukalov [ 2012 May 30 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5091 Fixed in 1.8 and improved docs for 'templateids' filter. |
Comment by Oleksii Zagorskyi [ 2012 May 30 ] |
for dev branch, also, line #217: no any words about (2) after resolving? REOPENED <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 May 31 ] |
A minor correction in r27969, but otherwise great. TESTED. <zalex> also TESTED. |
Comment by Oleksii Zagorskyi [ 2012 May 31 ] |
Maybe it could be merged also to 2.x branches? |
Comment by Alexey Fukalov [ 2012 May 31 ] |
svn://svn.zabbix.com/branches/1.8 27975 There were no changes that is needed in 2.0+, array key rename is not worth it. |