[ZBX-11607] Truncation of large numbers in latest data Created: 2016 Dec 15  Updated: 2018 Oct 09  Resolved: 2017 Sep 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 3.0.11rc1, 3.2.8rc1, 3.4.2rc1, 4.0.0alpha1, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Vjaceslavs Bogdanovs Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-13539 Wrong values after Zabbix upgrade (3.... Closed
Sprint: Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9, Sprint 10, Sprint 14, Sprint 15, Sprint 16
Story Points: 1

 Description   

Problem occurs when large numeric value is being converted (formatHistoryValue > convert_units > round + sprintf ). Value within DB is correct and calculation of change (delta) is not affected by this bug.

Bug can be reproduced by performing the following use case:
1. Create new item, with unsigned integer result type. A suggest using the following item: "system.run[echo 1234567890123456789]" (without quotes), but any item that produces a large (18 or more digits) number will be fine.

2. Go to the latest data tab. Expected result would be 1234567890123456789, but result is being displayed as 1234567890123456769



 Comments   
Comment by Ivo Kurzemnieks [ 2017 Aug 30 ]

(1) Translation string changes?

Miks.Kronkalns No translation string changes

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2017 Aug 30 ]

(2) Seems like wrong branch 3.2, but shoud've been created from 3.0

Miks.Kronkalns RESOLVED in ^/branches/dev/ZBX-11607 r71930

iivs CLOSED

Comment by Miks Kronkalns [ 2017 Sep 04 ]

Fixed:

  • 3.0.11rc1 r72133
  • 3.2.8rc1 r72136
  • 3.4.2rc1 r72138
  • 4.0.0alpha1 (trunk) r72139
Generated at Fri Apr 26 10:05:23 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.