[Bug 4438] New: incorrect "Budget total exceeds period allocation" error when editing fund
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4438 Summary: incorrect "Budget total exceeds period allocation" error when editing fund Product: Koha Version: HEAD Platform: All URL: admin/check_parent_total.pl OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Acquisitions AssignedTo: henridamien@koha-fr.org ReportedBy: gmcharlt@gmail.com Estimated Hours: 0.0 Change sponsored?: --- Editing a fund, then trying to save it, can result in a 'Budget total exceeds period allocation' blocking the save even when there are funds available. To reproduce: [1] Create a budget with $1000 allocated [2] Create a child fund with $900 allocated [3] Edit that same fund, say to change the name. Result: You are prevented from saving the fund. Expected result: You should be able to save the fund. Analysis: The web service admin/check_parent_total.pl is not taking into account the possibility that you are editing an existing fund and subtracting that fund's current allocation before seeing if the new allocation will not go over the limit set by the parent budget. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com