[ZBX-25739] Prediction function issue - timeleft() Created: 2024 Dec 13  Updated: 2025 Mar 28

Status: READY TO DEVELOP
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 7.0.5
Fix Version/s: 7.0.12rc1, 7.2.6rc1, 7.4.0beta1 (master)

Type: Problem report Priority: Minor
Reporter: Arkadiusz Zyla Assignee: Andrejs Verza
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: 11h
Time Spent: 5h
Original Estimate: 16h

Attachments: JPEG File FLOAT.jpg    
Issue Links:
Causes
Duplicate
Team: Team C
Sprint: Prev.Sprint, S25-W12/13
Story Points: 2

 Description   

Hello Team,

When in calculated item a value to be returned by the timeleft() function is greater than 1.7976931348623157E+308 Zabbix returns an error on the item (The value 1.7976931348623157E+308 is too small or too large.) and sets its status to "not supported" while the correct behaviour should be that when a value is greater than 1.7976931348623157E+308 by default it should be cropped to 1.7976931348623158E+308 based on the documentation: https://www.zabbix.com/documentation/7.0/en/manual/appendix/functions/prediction


Generated at Fri Mar 28 22:06:59 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.