[ZBX-15643] del_zeros() may convert invalid number into a valid number Created: 2019 Feb 13  Updated: 2024 Apr 10  Resolved: 2019 Apr 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 4.0.7rc1, 4.2.1rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Minor
Reporter: Andrejs Sitals (Inactive) Assignee: Aleksejs Sestakovs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
depends on ZBX-15444 Strange values are accepted as valid ... Closed
Team: Team C
Sprint: Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Create an item, type "Zabbix trapper", information type "numeric (float)"
  2. ./zabbix_sender -z 127.0.0.1 -s "host" -k "float.trapper" -o "1.2345.000"
  3. Add preprocessing step "Custom multiplier", multiply by 1
  4. ./zabbix_sender -z 127.0.0.1 -s "host" -k "float.trapper" -o "1.2345.000"

Result:

Step 2 fails as expceted.

Step 4 succeeds, value "1.23" is reported in Monitoring -> Latest data. Opening Graph and switching view from Graph to Values shows that stored value is 1.2345.

Expected:

Both ./zabbix_sender calls should fail.



 Comments   
Comment by Aleksejs Sestakovs [ 2019 Apr 11 ]

Available in

  • 4.0.7rc1 r92479
  • 4.2.1rc1 r92480
  • 4.4.0alpha1 (trunk) r92481
Generated at Fri Apr 26 05:40:04 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.