[ZBX-7165] unused SNMPv3 fields are still shown after type is changed from SNMPv3 to SNMPv2 Created: 2013 Oct 17  Updated: 2017 May 30  Resolved: 2013 Oct 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.8
Fix Version/s: 2.1.9

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

Attachments: PNG File snmpv2-item.png    

 Description   

Create an SNMPv3 item. Do its "mass update" to change type from SNMPv2 to SNMPv3. Observe snmpv2-item.png.

There are two problems here. The first is that mass update does not clear fields irrelevant to the new item type. However, this is a major problem and is probably not going to be solved anytime soon.

The second problem, though, which is fixable in the short term and should be fixed anyway, is that fields irrelevant for the item type should be hidden in item configuration.



 Comments   
Comment by Aleksandrs Saveljevs [ 2013 Oct 17 ]

This issue is the same as the closed ZBX-4588.

Comment by Eduards Samersovs (Inactive) [ 2013 Oct 23 ]

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

Comment by Alexander Vladishev [ 2013 Oct 24 ]

(1) the form shouldn't show fields not relating to the selected type anyway

Eduards RESOLVED r.39560
CViewSwitcher need to be rewrited, because understand what he do is very hard!

sasha The form is seriously broken for templated items/item prototypes/lld rules. REOPENED

Eduards RESOLVED r.39573

sasha CLOSED

Comment by Alexander Vladishev [ 2013 Oct 24 ]

(2) new validation messages should be consistent with existing

New messages:

'SNMP OID field cannot be empty.'
'SNMP community field cannot be empty.'

Existing messages:

'No public key file specified.'
'No authentication user name specified.'
...

Eduards RESOLVED r.39573

sasha REOPENED

Please rollback the message 'SNMP trap key is invalid.'.

Eduards RESOLVED r.39596

sasha CLOSED

Comment by Alexander Vladishev [ 2013 Oct 28 ]

(3) Styles should be fixed as in User form

Eduards RESOLVED r.39600, #808080 looks too dark, #ACA899 is better, plus #ACA899 is used in input

sasha CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Oct 28 ]

Fixed in versions pre-2.1.9 (trunk) r.39612

Generated at Fri Apr 26 16:24:26 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.