[ZBX-10919] inconsistent select* parameter outcome Created: 2016 Jun 20  Updated: 2019 Mar 27  Resolved: 2019 Mar 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.0.3
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: template.get
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-3783 Proper API validation Reopened

 Description   

tested with template.get in the 3.0 branch svn head. likely other methods are similar.
setting various select* properties to 'true' has different outcome :

  • ids are returned for selectGroups, selectParentTemplates, selectTriggers, selectGraphs
  • nothing is returned for selectHttpTests, selectItems, selectDiscoveries, selectApplications, selectMacros, selectScreens


 Comments   
Comment by Alexander Vladishev [ 2019 Mar 27 ]

select* properties supports only "extend", "count" or array of fields. This is validation problem and will be fixed under ZBX-3783.

Generated at Wed Mar 26 11:15:30 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.