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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 3.0.0alpha2
    • Component/s: API (A)
    • Labels:
    • Environment:
      Ubuntu 15.04

      Description

      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]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: