https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15770
Bug ID: 15770
Summary: Number::Format issues with large numbers
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
In my database I have some large numbers in some database columns
(categories.enrolmentfee for instance), because of TestBuilder I think.
In that case, this cause admin/categories.pl to die with the following error
message:
Template process failed: undef error - round() overflow. Try smaller precision
or use Math::BigFloat at /home/koha/src/Koha/Number/Price.pm line 44
This shouldn't happen in real life, but as Koha allows to enter such big
numbers, this should probably be fixed.
Steps to reproduce:
1. Go to Admin ยป Categories
2. Click on "New category" button
3. Fill in the required field and set enrolment fee to a big number like
123456789012345 (15 digits seem to be the minimum to reproduce the bug)
4. Save
5. Boom!
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/