Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart 331ca7df3e Bug 11675: check allocated total correctly when editing a fund that has a parent fund
The sth was created before the query.
The query was modified after the sth creation and an error was raised.

Test plan:
0/ Don't apply the patch
1/ Create a budget A (amount=1000)
2/ Create a fund A1 (amount=1000)
3/ Create a child fund A11 (amount=1000)
4/ Edit A11 and change the amount to 2000
You are able to do it, an error appears in the Koha log:
  "check_parent_total.pl: DBD::mysql::st execute failed: called with 2 bind
  variables when 1 are needed"
5/ Apply the patch, edit A11 and save. You get an error
6/ Edit A11 and change the amount to <=1000
7/ Verify that there is no regression on adding/removing/editing budgets
and funds.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Works as described, no regressions found.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-11 17:09:31 +00:00
acqui Bug 11170: make the pending order list only display orders to receive 2014-03-11 15:09:56 +00:00
admin Bug 11675: check allocated total correctly when editing a fund that has a parent fund 2014-03-11 17:09:31 +00:00
authorities Bug 11652: ensure that merging authority records corrects biblios 2014-02-13 03:03:21 +00:00
basket
C4 Bug 11755: ensure that SearchOrders returns booksellerid 2014-03-11 16:18:48 +00:00
catalogue Bug 11096: support the retrieval of large MARCXML records 2014-02-28 19:50:09 +00:00
cataloguing Bug 11096: support the retrieval of large MARCXML records 2014-02-28 19:50:09 +00:00
circ Bug 11751: remove dead code related to handling members of institution patrons 2014-03-11 15:05:14 +00:00
course_reserves Bug 11866: (follow-up) repair security issue introduced by main patch 2014-03-10 14:57:17 +00:00
debian Bug 7234: koha-common Debian package now includes koha-sites.conf 2014-03-03 15:56:52 +00:00
docs Bug 7143: Updating about page and history 2014-01-16 15:28:13 +00:00
errors
etc Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
install_misc Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
installer Bug 11751: DBrev 3.15.00.022 2014-03-11 15:06:04 +00:00
Koha Bug 7372: (follow-up) remove last traces of roadtype table and admin pages 2014-02-21 16:11:28 +00:00
koha-tmpl Bug 10837: make it possible to export serial claims as CSV even when no notice defined 2014-03-11 16:49:44 +00:00
labels Bug 11096: support the retrieval of large MARCXML records 2014-02-28 19:50:09 +00:00
members Bug 11751: remove dead code related to handling members of institution patrons 2014-03-11 15:05:14 +00:00
misc Bug 10777: (follow-up) improve CSS3 for Zebra-striping report email output 2014-03-11 14:57:26 +00:00
offline_circ
opac Bug 11516: make OPAC search term highlighting work in results browser 2014-03-10 21:30:38 +00:00
OpenILS
patron_lists
patroncards
plugins
reports
reserve Bug 9823: Refactor return from GetReservesFromBiblionumber 2014-01-30 16:19:55 +00:00
reviews
rotating_collections
selenium
serials Bug 11096: support the retrieval of large MARCXML records 2014-02-28 19:50:09 +00:00
services
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
sms Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
suggestion
svc Bug 11704: Make */svc/report print the correct headers 2014-02-13 02:59:42 +00:00
t Bug 11755: ensure that SearchOrders returns booksellerid 2014-03-11 16:18:48 +00:00
tags
test
tmp/modified_authorities
tools Bug 11343: The max number of items to process in a batch is hardcoded 2014-03-10 19:10:27 +00:00
virtualshelves
xt
.htaccess
.mailmap
about.pl Bug 11772: Show warning on About page:System information if no active currency is defined 2014-02-18 20:54:23 +00:00
changelanguage.pl
edithelp.pl Bug 11661: sanitize file names supplied to edithelp.pl 2014-02-05 01:36:10 +00:00
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.opensuse Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 11751: DBrev 3.15.00.022 2014-03-11 15:06:04 +00:00
LICENSE
mainpage.pl
Makefile.PL Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 10580: adjust Makefile.PL to reflect that Zebra no longer optional in Koha setup 2014-02-21 17:38:15 +00:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/