[ZBX-4697] mass group replacing doesn't work if hosts belong to additional groups Created: 2012 Feb 24  Updated: 2017 May 30  Resolved: 2012 Mar 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 1.8.10, 1.9.9 (beta)
Fix Version/s: 1.8.12rc1, 2.0.0rc2

Type: Incident report Priority: Critical
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: hostmassupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

1.8 branch & trunk rev 25599.



 Description   

have hosts H1 and H2 in hostgroup HG1. have host H2 also in HG2. select both hosts, choose mass update and add them to HG1. this fails.

1.8 error :
[ CHostGroup::massRemove ] One of the Objects is left without Hostgroup
[ CHost::massUpdate ] Can't remove group

trunk error :
One of the objects is left without host group. [CHost.massUpdate -> CHost.massRemove -> CHostGroup.massRemove]



 Comments   
Comment by Alexey Fukalov [ 2012 Mar 16 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4697

Comment by Alexander Vladishev [ 2012 Mar 20 ]

Successfully tested! Please review my changes in r26202.

Comment by Alexey Fukalov [ 2012 Mar 20 ]

svn://svn.zabbix.com/branches/1.8 26209
svn://svn.zabbix.com/trunk 26211

Generated at Fri Apr 26 16:49:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.