http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11698

Jacek Ablewicz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Jacek Ablewicz <[email protected]> ---
Such thing happens after adding budget with 90071992547410 total amount or more
- that's roughly 5x US national debt ;).
Plus, Koha accepts "Total amount" entered in scientific notation (eg. 1e14) so
this might be the result of the typo.

Note #1: after it happens, I think it's not possible to delete such offending
budget in any normal way; it needs to be deleted directly from the
aqbudgetperiods table (or one can craft an url with
...?delete_confirmed=1&budget_period_id=.. to do so).
Note #2: this bug may be not reproducible in older installations
(Number::Format module version < 1.72)

I guess an easy fix for this bug would be to add an extra validity check in
javascript, so the form will not allow to save the budget if total amount
entered is greater then 2**53/100. But - what if there are some people who need
to use such big numbers in acquisition (think Zimbabwe..)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to