[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
Thu Jan 30 18:44:23 CET 2014


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 24900
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24900&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list