[ZBX-4745] Can't update LLD rule Created: 2012 Mar 12  Updated: 2017 May 30  Resolved: 2012 Mar 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc1
Fix Version/s: None

Type: Incident report Priority: Blocker
Reporter: Andrew Howell Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 6.2


Attachments: PNG File ZBX-4745-1.png    
Issue Links:
Duplicate
duplicates ZBX-4257 Discovery rules are incorrectly linke... Closed

 Description   

Can't update LLD rule, frontend gives following error.

Undefined index: flags [api/classes/CItemGeneral.php:588]
Item with key "snmp.discovery.fans" already exists on "hydrogen-c" as a discovery rule.

Screenshot attached.



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Mar 12 ]

Confirmed for latest trunk rev 25951
I happens only in a case when a template already linked to a host and we edit the discovery rule in the template.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 12 ]

Will be fixed in ZBX-4257.

Comment by Andrew Howell [ 2012 Mar 13 ]

Just noticed that this isn't just affecting LLD rules, I tried updating a ordinary item in a template and got the same error about already existing in a host that includes that template.

Comment by dimir [ 2012 Mar 14 ]

Andrew, can you confirm that this + with an ordinary item is fixed in ZBX-4257?

Comment by Andrew Howell [ 2012 Mar 15 ]

Yeah it's fixed in 2.0.0rc1

Comment by dimir [ 2012 Mar 15 ]

Thanks.

Generated at Mon Apr 21 14:53:02 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.