[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 Sun Mar 16 02:06:29 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.