[ZBX-5004] 2.0.0rc3 -> 2.0.0rc4 cannot not export / import templates Created: 2012 May 15  Updated: 2017 May 30  Resolved: 2012 May 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 2.0.0rc4
Fix Version/s: 2.0.0

Type: Incident report Priority: Blocker
Reporter: Marc Herren Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File zbx_export_templates_dbtest2.xml    

 Description   

Exported a few templates from 2.0.0rc3 and tried to import them into 2.0.0rc4

Fails with the following message:

Undefined index: templateid [api/classes/CTemplate.php:1271]
You do not have permission to perform this operation.

The same template works fine on another fresh 2.0.0rc3 installation.



 Comments   
Comment by Marc Herren [ 2012 May 15 ]


Having created "empty" templates with the same name I the could succesfully import the template from 2.0.0rc3

Comment by Alexander Vladishev [ 2012 May 16 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-5004

Comment by Pavels Jelisejevs (Inactive) [ 2012 May 16 ]

TESTED.

Comment by Alexey Fukalov [ 2012 May 17 ]

svn://svn.zabbix.com/trunk 27583

Comment by richlv [ 2012 May 18 ]

any information on what exactly caused the problem here ?

Comment by Marc Herren [ 2012 May 21 ]

I've tested it today with a fresh installation of rc6 and there it fails again with the same error messages!

It did work last week with svn of /dev/ZBX-5004

Current workaround is to create first empty Templates and then import it.

Comment by Alexey Fukalov [ 2012 May 21 ]

Yes, incorrect branch was merged instead this one. Now the fix should be correct.
svn://svn.zabbix.com 27654

Generated at Wed May 08 06:06:41 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.