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

Importing XML without macros section shows error and doesn't remove macros

    XMLWordPrintable

Details

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

    Description

      Importing XML without macros section shows error and doesn't remove moacros.

      Undefined index: macros [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->gatherReferences() in /usr/share/zabbix/include/classes/import/CConfigurationImport.php:229]
      Invalid argument supplied for foreach() [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->gatherReferences() in /usr/share/zabbix/include/classes/import/CConfigurationImport.php:229]
      Invalid argument supplied for foreach() [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->resolveHostReferences() in /usr/share/zabbix/include/classes/import/importers/CHostImporter.php:152]
      

      I tried the same for inventory. Inventory configurations are removed without errors while importing XML files that does't have <inventory/> section.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kodai Kodai Terashima
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: