[Koha-bugs] [Bug 18774] Internal Server Error in Price.pm with big numbers
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jun 11 22:34:09 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18774
Lee Jamison <ldjamison at marywood.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #64171|0 |1
is obsolete| |
--- Comment #2 from Lee Jamison <ldjamison at marywood.edu> ---
Created attachment 64188
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64188&action=edit
Bug 18774: Add test for Price.pm
Add a test for a big number to t/Number/Price.t
Test will fail with:
round() overflow. Try smaller precision or use Math::BigFloat at
(...)/Koha/Number/Price.pm line 44.
Signed-off-by: Lee Jamison <ldjamison at marywood.edu>
Test failure occurs as described. This patch passes QA tools.
Still in need of a patch for the problem itself but the patch
works as described.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list