[ZBX-5267] Error message after deleting Host Group Created: 2012 Jul 03  Updated: 2017 May 30  Resolved: 2012 Jul 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Marcel Hecko Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: hostgroup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, Apache 2.2, PHP5



 Description   

There is an error message stating

Argument 1 passed to CHostGroup::delete() must be an array, string given [api/classes/CHostGroup.php:726]

after deleting empty host group.

Marcel



 Comments   
Comment by Marcel Hecko [ 2012 Jul 03 ]

The deletion process works though.

Comment by Oleksii Zagorskyi [ 2012 Jul 04 ]

Confirmed for latest trunk rev 28652

To reproduce need to to delete the host group by "Delete" button from host group properties.

Comment by richlv [ 2012 Jul 04 ]

(1) unittest

Comment by richlv [ 2012 Jul 13 ]

happens for any hostgroup, not just empty one

Comment by Alexey Fukalov [ 2012 Jul 16 ]

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

Comment by Alexander Vladishev [ 2012 Jul 17 ]

Successfully tested! Added more tests.

Comment by Alexey Fukalov [ 2012 Jul 17 ]

Fixed in pre-2.0.2rc1 r28921, pre-2.1.0 r28922

Generated at Tue Apr 23 15:05:42 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.