-
Incident report
-
Resolution: Fixed
-
Major
-
2.0.1
Triggers with dependencies generate error like this:
Illegal string offset 'triggerid' [api/classes/CTrigger.php:1486]
Error in query [INSERT INTO trigger_depends (triggerid_down,triggerid_up,triggerdepid) VALUES ('13669','1',1)] [Cannot add or update a child row: a foreign key constraint fails (`zbx_trunk_clean`.`trigger_depends`, CONSTRAINT `c_trigger_depends_2` FOREIGN KEY (`triggerid_up`) REFERENCES `triggers` (`triggerid`) ON DELETE CASCADE)]
SQL statement execution has failed "INSERT INTO trigger_depends (triggerid_down,triggerid_up,triggerdepid) VALUES ('13669','1',1)".
Example for template have been attached.