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

Export of (at least some) templates results in corrupted file with errors

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.0alpha2
    • 2.5.0
    • API (A)
    • Ubuntu 15.04

      I am unable to get templates (specific example the vanilla Template OS Linux) to export. I tried both an upgraded database, and rebuilding an empty one to make sure I had a clean template.

      Upon trying to export no errors appear in the front end, but the file is filled with errors, a few of which are below (there are about 4-5x this many). There is no valid XML data.

      I should note this is on my first SVN build, I THINK that is not at fault, but just saying.

      [error] Undefined offset: 22454 [templates.php:100 → CConfigurationExport->export() → CConfigurationExport->gatherData() → CConfigurationExport->gatherTemplates() → CConfigurationExport->gatherTemplateDiscoveryRules() → CConfigurationExport->prepareDiscoveryRules() → CConfigurationExport->prepareTriggers() in include/classes/export/CConfigurationExport.php:828]

            Unassigned Unassigned
            Linwood Linwood Ferguson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: