[Koha-bugs] [Bug 11644] Cannot update fund if total is equal to amount unallocated
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 17 13:48:33 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11644
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24954|0 |1
is obsolete| |
--- Comment #11 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 25348
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25348&action=edit
Bug 11644 - Cannot update fund if total is equal to amount unallocated
When attempting to update a fund, if the amount unalloccated for the
fund is equal to the total, you can be prevented from saving. This is
due to imprecise floating point number comparison in
check_parent_total.pl
Test Plan:
1) Create a fund where the amount unallocated is equal to the amount
unallocated for the budget period
2) Edit the fund, attempt to change the name of the fund
3) Note you recieve an error and cannot save
4) Apply this patch
5) Repeat step 2
6) Note you can now update the fund
Signed-off-by: Sean McGarvey <smcgarvey at pascocountyfl.net>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list