[ZBX-1857] can create calculated item with empty expression Created: 2010 Jan 28  Updated: 2017 May 30  Resolved: 2010 Jun 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.1, 1.9.0 (alpha)
Fix Version/s: 1.8.3

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   

it is possible to create calculated item with empty expression. that doesn't seem to make much sense and probably should be prevented



 Comments   
Comment by Maxim Andruhovich (Inactive) [ 2010 May 31 ]

svn://svn.zabbix.com/branches/dev/ZBX-1857

Comment by richlv [ 2010 Jun 01 ]

few more issues in dev branch rev 12403.

1. for ipmi, it does not say "IPMI sensor", but params;

2. snmp items can't be saved at all :
Warning. Incorrect value for [params]

Comment by Maxim Andruhovich (Inactive) [ 2010 Jun 01 ]

Is there more bugs (technical, visual etc.) in this form?

Would be great to fix them all at once.

Comment by richlv [ 2010 Jun 01 ]

1. well... multiplier configuration is awful
instead of the dropdown and additional field, there should be a checkbox + a textfield on the same line which would be disabled if checkbox is not marked (same as auto-logout in user profile).

2. "New application" row should have a slightly green background (like "new flexible interval").

3. "Data type" dropdown reloads the form, but i doubt it needs that - if not, would be great to get rid of the reload;

4. set "type of information" to "numeric (unsigned)", enable multiplier. set type of information to character - "Custom multiplier" field is still visible.

should be enough for starters

Comment by Maxim Andruhovich (Inactive) [ 2010 Jun 14 ]

Item form processing is updated see branch svn://svn.zabbix.com/branches/dev/ZBX-1857

Alexander, please check that all input data is validated as required by Zabbix Server.

Thanks,
AM.

Comment by richlv [ 2010 Jun 18 ]

dev branch rev 12912.

1. snmp port defaults to 0, should default to 161;
2. default key for calculated is "null" - should be empty;
3. creating telnet item fails : "Warning. Field [authtype] is mandatory".

Comment by Maxim Andruhovich (Inactive) [ 2010 Jun 19 ]

please, see revision 12927

Comment by richlv [ 2010 Jun 19 ]

confirming the fix in dev branch rev 12927.

Comment by Maxim Andruhovich (Inactive) [ 2010 Jun 19 ]

Bug fixed in version pre 1.8.3 revision 12946

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