[ZBXNEXT-1758] Wrong error message when creating duplicate discovery rule. Created: 2013 May 24  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A)
Affects Version/s: 2.1.0
Fix Version/s: 2.2.0

Type: Change Request Priority: Minor
Reporter: Toms (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: discoveryrule
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When creating duplicate discovery rule for host we get following error message:
'Item with key "dr" already exists on "0".'

We should get following message:
'Discovery rule "%1$s" already exists on "%2$s"'

or

'Discovery rule "%1$s" already exists on "%2$s", inherited from another template.'

accordingly

should be fixed after ZBXNEXT-1633



 Comments   
Comment by Oleksii Zagorskyi [ 2013 May 25 ]

Seems I recall we fixed in the past similar messages for deletion item/graph prototypes.

Generated at Wed Apr 24 15:13:11 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.