[ZBX-3728] "Invalid argument supplied for foreach" when deleting frontend script Created: 2011 Apr 15  Updated: 2017 May 30  Resolved: 2011 May 05

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

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


 Description   

administration -> scripts, open a script, delete -> confirm :

Invalid argument supplied for foreach()[/usr/share/zabbix/api/classes/class.cscript.php:494]

reported by Fanfare on irc

when fixing this, tests should be added.



 Comments   
Comment by Alexei Vladishev [ 2011 Apr 15 ]

As a workaround a script can be deleted using mass-delete.

Comment by Alexei Vladishev [ 2011 May 05 ]

Fixed in 19371, branch svn://svn.zabbix.com/branches/dev/ZBX-3728.

Ready for testing and code review.

Comment by Alexei Vladishev [ 2011 May 05 ]

Available in revision 19387.

Generated at Fri Apr 19 10:31:27 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.