[ZBX-6472] Duplicate Key Problem on Template Import Created: 2013 Apr 10  Updated: 2017 May 30  Resolved: 2013 May 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.5
Fix Version/s: 2.0.7rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Jiann-Ming Su Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: import, key
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RH el6 with MySQL and Oracle


Attachments: XML File zbx_export_templates(1).xml     XML File zbx_export_templates(2).xml     XML File zbx_export_templates(3).xml     XML File zbx_export_templates(4).xml    

 Description   

This is a continuation of this bug: https://support.zabbix.com/browse/ZBX-6432

In ZBX-6432, I thought the bug was specific to an Oracle database. But, it turns out, after upgrading my development Zabbix which uses MySQL from 2.0.0 to 2.0.5, I'm seeing this error with the MySQL database as well as Oracle. I suspect this is a 2.0.5 frontend issue.

I've attached the four Templates. Load them in order. When I get to zbx_export_templates(4).xml, I get the following message:

Item with key "ifAdminStatus.385" already exists on "Template_netSWITCH_1495Clif2A-m1".

Template_netSWITCH_1495Clif2A-m1 was successfully loaded from file zbx_export_templates(2).xml,



 Comments   
Comment by Jiann-Ming Su [ 2013 Apr 11 ]

2.0.4 imports the attached templates correctly. I'm also able to bulk import in 2.0.4 (Oracle & MySQL) where 2.0.5 was failing.

Comment by Toms (Inactive) [ 2013 May 29 ]

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

Comment by Eduards Samersovs (Inactive) [ 2013 May 30 ]

Tested!

Comment by Toms (Inactive) [ 2013 May 30 ]

Fixed in 2.0.7rc1 r35958, 2.1.0 r35959

Generated at Thu Apr 18 23:23:43 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.