PDA

View Full Version : Problem with "delete host"


Fbrachere
06-07-2011, 16:28
Hi all,
I'm testing zabbix 1.9.4 and cannot delete host because of a bug in frontends/php/api/classes/class.cgraphprototype.php line 1021.
There is a typo in the source code , in the last SVN version too.

I changed this:

DB::delete('screens_items', array(
'resourceid'=>$graphids,
'resourcetype='=>SCREEN_RESOURCE_GRAPH
));


to:


DB::delete('screens_items', array(
'resourceid'=>$graphids,
'resourcetype'=>SCREEN_RESOURCE_GRAPH
));


Fabien

richlv
06-07-2011, 22:15
could you please report this as a bug on https://support.zabbix.com ? thanks

Vedmak
07-07-2011, 10:02
Should be fixed in trunk rev.20447
Thanks for reporting :)

Fbrachere
07-07-2011, 10:59
could you please report this as a bug on https://support.zabbix.com ? thanks

There's already a report: https://support.zabbix.com/browse/ZBX-3833
I think Vedmak can close it.

richlv
07-07-2011, 11:08
great, thanks again :)