[ZBX-9807] Export of (at least some) templates results in corrupted file with errors Created: 2015 Aug 24  Updated: 2017 May 30  Resolved: 2015 Sep 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.5.0
Fix Version/s: 3.0.0alpha2

Type: Incident report Priority: Major
Reporter: Linwood Ferguson Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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]



 Comments   
Comment by richlv [ 2015 Aug 24 ]

the original issue should be fixed anyway, but it is made worse by the errors being written to the file - reported as ZBX-4971

Comment by Alexander Vladishev [ 2015 Aug 31 ]

Broken in ZBXNEXT-1219

Comment by Ivo Kurzemnieks [ 2015 Aug 31 ]

(1) No translation string changes.

sasha CLOSED

Comment by Ivo Kurzemnieks [ 2015 Aug 31 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-9807

Comment by Ivo Kurzemnieks [ 2015 Sep 08 ]

Fixed in pre-3.0.0alpha2 (trunk) r55480

Generated at Fri Apr 26 14:37:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.