[ZBX-797] manual deletion of web scenario items possible Created: 2009 Mar 18  Updated: 2017 May 30  Resolved: 2009 Apr 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

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

1.6 branch & trunk, revision 6959



 Description   

creating a web testing scenario creates appropriate items for the host.
it is possible to delete these items directly, this resulting in the following errors when viewing web monitoring.
maybe it should be possible to modify these items through web configuration only ?

Undefined index: item_data[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:184]
Undefined index: item_data[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:185]
Undefined index: item_data[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:186]
Undefined offset: 2[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:235]
Undefined offset: 1[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:244]
Undefined offset: 2[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:254]
Error in query [SELECT MIN(t.clock) as clock FROM trends t WHERE t.itemid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix-1.6.2/include/db.inc.php:519]
Error in query [SELECT MIN(t.clock) as clock FROM trends_uint t WHERE t.itemid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix-1.6.2/include/db.inc.php:519]
Undefined offset: 1[/srv/www/htdocs/zabbix-1.6.2/httpdetails.php:254]
Error in query [SELECT MIN(t.clock) as clock FROM trends t WHERE t.itemid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix-1.6.2/include/db.inc.php:519]
Error in query [SELECT MIN(t.clock) as clock FROM trends_uint t WHERE t.itemid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix-1.6.2/include/db.inc.php:519]



 Comments   
Comment by richlv [ 2009 Apr 06 ]

confirming the fix in trunk, revision 7151 - web scenario items can't be deleted anymore

Generated at Thu Jun 19 08:29:20 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.