[ZBX-9017] readonly param "internal" can be set in hostgroup.create Created: 2014 Nov 10 Updated: 2017 May 30 Resolved: 2014 Nov 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.2.7 |
Fix Version/s: | 2.2.8rc1, 2.4.3rc1, 2.5.0 |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | hostgroups, validation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
create a new hostgroup with hostgroup.create, pass internal=1 - group is created with internal flag set to 1, even though it is not chosen in administration -> general -> other - and that group can not be deleted now api docs claim this property should be read only https://www.zabbix.com/documentation/2.2/manual/api/reference/hostgroup/object |
Comments |
Comment by Arvids Godjuks (Inactive) [ 2014 Nov 13 ] |
(1) Translation changed Added strings:
sasha CLOSED |
Comment by Arvids Godjuks (Inactive) [ 2014 Nov 13 ] |
Fixed in branch svn://svn.zabbix.com/branches/dev/ZBX-9017 |
Comment by Alexander Vladishev [ 2014 Nov 20 ] |
Successfully tested! Please take a look on my changes in r50709. |
Comment by Arvids Godjuks (Inactive) [ 2014 Nov 25 ] |
Merged to 2.2.8rc1, 2.4.5rc1 and 2.5.0 (trunk) |
Comment by Alexander Vladishev [ 2014 Nov 25 ] |
(3) 2.4 and trunk: "Undefined index" when updating a host group without name Undefined index: name [hostgroups.php:93 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CHostGroup->update() in include/classes/api/services/CHostGroup.php:491] arvids.godjuks RESOLVED in r50832 for 2.4 and r50833 for 2.5.0 (trunk) sasha CLOSED |
Comment by Alexander Vladishev [ 2014 Nov 25 ] |
(4) Documentation changes: arvids.godjuks RESOLVED sasha CLOSED |