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

Errors when importing a template with an empty or incorrect trigger

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 2.1.0
    • Frontend (F)

      After 1.xml import:

      Imported successfully
          Undefined index: dependencies [include\classes\import\CConfigurationImport.php:319]
          Invalid argument supplied for foreach() [include\classes\import\CConfigurationImport.php:319]
          Undefined index: dependencies [include\classes\import\CConfigurationImport.php:928]
          Invalid argument supplied for foreach() [include\classes\import\CConfigurationImport.php:928]
          Updated: Trigger "TEMPLATE_TRIGGER" on "super-template1".
          Updated: Trigger "TEMPLATE_TRIGGER" on "export-host2-2".
      

      And after 2.xml import:

      ERROR: Import failed
          Undefined index: description [include\classes\import\CConfigurationImport.php:317]
          Undefined index: expression [include\classes\import\CConfigurationImport.php:317]
          Undefined index: expression [include\classes\import\CConfigurationImport.php:317]
          Undefined index: dependencies [include\classes\import\CConfigurationImport.php:319]
          Invalid argument supplied for foreach() [include\classes\import\CConfigurationImport.php:319]
          Empty input parameter.
      

        1. 1.xml
          3 kB
        2. 2.xml
          3 kB

            Unassigned Unassigned
            oleg.egorov Oleg Egorov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: