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

Details

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

    Description

      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.
      

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: