Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5155

Can not import templates with trigger dependencies from 1.8 to 2.0

XMLWordPrintable

      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.

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: