[ZBX-3046] import does not accept template ordering as created by export Created: 2010 Sep 28  Updated: 2017 May 30  Resolved: 2011 Aug 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 1.8.7, 2.0.0

Type: Incident report Priority: Major
Reporter: richlv Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-2975 cannot import two linked templates Closed

 Description   

when exporting, templates that are linked against other templates might be placed first in the file.

for example, if template_email is linked against template_linux, ordering might be:

template_email
template_linux

this fails at import, which makes large scale export/import transitions impractical. ideal solution would :

1. sort entries properly upon export for better backwards compatibility;
2. load xml data on a general level, sort it properly (and see whether anything is wrong before attempting to import stuff) and only then import.



 Comments   
Comment by Aleksandrs Saveljevs [ 2010 Sep 29 ]

A closely related issue is ZBX-2975.

Generated at Wed Jan 07 09:06:19 EET 2026 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.