[ZBX-15694] Incorrect validation of custom multiplier preprocessing step parameter Created: 2019 Feb 20  Updated: 2024 Apr 10  Resolved: 2019 Mar 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 4.0.5rc1, 4.2.0beta2
Fix Version/s: 4.0.6rc1, 4.2.0rc1, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Miks Kronkalns Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: preprocessing, validation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint 49 (Feb 2019), Sprint 50 (Mar 2019)
Story Points: 0.125

 Description   

Steps to reproduce:

  1. Create an item and add preprocessing step of type "Custom multiplier".
  2. Add some number with space after it (like "10     ").
  3. Try to save item. Observe error telling that numeric value is expected in parameter field.
  4. Now, move empty space from end of multiplier to the beginning (like "   10").
  5. Save changes.

Result:
Item successfully saved.



 Comments   
Comment by Ivo Kurzemnieks [ 2019 Feb 26 ]

RESOLVED for 4.0 in svn://svn.zabbix.com/branches/dev/ZBX-15694
RESOLVED for 4.2 in svn://svn.zabbix.com/branches/dev/ZBX-15694-trunk

Comment by Ivo Kurzemnieks [ 2019 Mar 08 ]

Fixed in:

  • pre-4.0.6rc1 r90797
  • pre-4.2.0rc1 (trunk) r90798
Generated at Wed Apr 24 19:37:21 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.