https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17164
Bug ID: 17164
Summary: Software error when enrolment fee or reserve fee are
too high (Patron categories)
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: System Administration
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
For some reason I had ridiculously high enrolment fee and reserve fee data
causing a software error when trying to access Patron Categories
Software error: Template process failed: undef error - round() overflow. Try
smaller precision or use Math::BigFloat at
/home/vagrant/kohaclone/Koha/Number/Price.pm line 44.
My enrolment fee was set at 8866609962973970000000.00 and my reserve fee was
set at 3862694923528880000000.00
Obviously it's very unlikely for a librarian to set the enrolment fee or
reserve fee to be this high but if it happens accidentally, it breaks the
system and causes this error. Perhaps there should be some kind of constraint
when entering this, like a maximum reserve fee constraint etc.?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/