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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.1rc1, 2.1.0
    • Component/s: Frontend (F)
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: