[ZBX-3946] Error when we try create new trigger with dependency Created: 2011 Jul 12  Updated: 2017 May 30  Resolved: 2011 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.4 (alpha)
Fix Version/s: 1.9.7 (beta), 2.0.0

Type: Incident report Priority: Blocker
Reporter: Alexey Fukalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dependencies, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by richlv [ 2011 Sep 03 ]

still there in trunk rev 21476.

actual error messages :

Invalid argument supplied for foreach() [include/db.inc.php:1180]
array_keys() expects parameter 1 to be array, string given [include/db.inc.php:1275]
implode(): Invalid arguments passed [include/db.inc.php:1275]
array_values() expects parameter 1 to be array, string given [include/db.inc.php:1276]
implode(): Invalid arguments passed [include/db.inc.php:1276]
Error in query [INSERT INTO trigger_depends () VALUES ()] [Cannot add or update a child row: a foreign key constraint fails (`zabbix_1_9`.`trigger_depends`, CONSTRAINT `c_trigger_depends_1` FOREIGN KEY (`triggerid_down`) REFERENCES `triggers` (`triggerid`) ON DELETE CASCADE)]
SQL statement execution has failed "INSERT INTO trigger_depends () VALUES ()" [CTrigger.create -> CTrigger.createReal -> DB.insert]

Comment by Alexey Fukalov [ 2011 Sep 21 ]

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

Comment by Alexey Fukalov [ 2011 Sep 22 ]

svn://svn.zabbix.com/trunk 21817

Generated at Sat Apr 20 00:24:30 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.