[ZBX-10238] Impossible to update existing item using template importing feature Created: 2016 Jan 07  Updated: 2017 May 30  Resolved: 2016 Feb 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.7
Fix Version/s: 2.4.8rc1, 3.0.1rc1, 3.2.0alpha1

Type: Incident report Priority: Critical
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: import, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-10254 Import fails with message : Item "<It... Closed
is duplicated by ZBX-10349 Template OS Linux is always mentioned... Closed

 Description   

The error is "Item with key "**" already exists on "**"." The error is independent of import rule settings (update existing or not).



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Jan 12 ]

(1) When fixing it, please verify that the duplicate ZBX-10254 is fixed, too.

gunarspujats RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10238

sasha CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Jan 14 ]

(2) No translation strings changed.

sasha Do not change strings because trunk in "string freeze" phase. REOPENED

gunarspujats RESOLVED in r58325.

sasha

Strings deleted:

  • Template "%1$s" with item key "%2$s" already linked to host.

gunarspujats CLOSED

Comment by Alexander Vladishev [ 2016 Feb 08 ]

(4) no spaces must be used between fields (SQL coding guidelines)

'SELECT i.key_, i.flags'

gunarspujats RESOLVED in r58325.

sasha CLOSED

Comment by Alexander Vladishev [ 2016 Feb 10 ]

(5) seems this code can be moved (with bug fixes) into the CHostPrototype::link() method.

frontends/php/include/classes/api/services/CHostBase.php:61:91

sasha RESOLVED in r58374, r58397

gunarspujats CLOSED

Comment by Alexander Vladishev [ 2016 Feb 16 ]

Fixed in:

  • pre-2.4.8rc1 r58488
  • pre-3.0.1rc1 r58489
  • pre-3.1.0 (trunk) r58490.
Generated at Thu Apr 18 20:45:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.