[ZBX-4781] bad error message for an already existing item key Created: 2012 Mar 20  Updated: 2017 May 30  Resolved: 2012 Mar 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.0rc1
Fix Version/s: 2.0.0rc3

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


 Description   

if an item with same key already exists on a host, error message is :
"Item with key "aa" already exists on given host."

while this might be ok when creating a single item, this is a quite non-helpful message when copying an item to many hosts instead



 Comments   
Comment by richlv [ 2012 Mar 22 ]

to reproduce, have 2 hosts, one with an item with key "a".
on 3rd host, create an item with key "a" and copy this item to first two hosts. from the error message it is not possible to figure out which host has the item already

Comment by Toms (Inactive) [ 2012 Mar 22 ]

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

Comment by Toms (Inactive) [ 2012 Mar 26 ]

Fixed in 2.0.0rc3 r26384

Generated at Sat Apr 27 00:58:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.