Main Koha release repository https://koha-community.org
Find a file
Jacek Ablewicz 6dcc34c1b4 Bug 9224: Make acqui/finishreceive.pl Plack-compatible
Under Plack/mod_perl wrapping, sub update_item() will become a closure,
so after the 1st run it will retain its own private instances of the
following variables: $booksellerid, $datereceived, $unitprice, $rrp,
$biblionumber.

I.e., in case update_item() gets invoked 2nd+ time (inside
the same process, but for different-subsequent receives) it may
incorrectly flag the (old, wrong) biblionumber for Zebra reindexing,
and erronously modify the current item[s] with the previously
used (wrong) values.

This simple patch should make acqui/finishreceive.pl Plack-compatible.

Test plan:
Test patched acqui/finishreceive.pl script (create and receive some
orders w/ items, etc.). Ensure items are gettting added and/or modified
correctly during receiving process.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised, no regressions found.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-13 18:23:26 +00:00
acqui Bug 9224: Make acqui/finishreceive.pl Plack-compatible 2013-12-13 18:23:26 +00:00
admin Bug 11286: fix bug preventing adding a new subfield to an authority framework 2013-11-27 18:07:17 +00:00
authorities Bug 10808: (follow-up) reformat auth_finder.pl 2013-12-10 04:27:05 +00:00
basket Bug 10605: fix encoding issue on basket email (INTRANET) 2013-12-10 04:37:12 +00:00
C4 Bug 10983: Remove unused private subroutines from C4::Budgets 2013-12-13 15:14:18 +00:00
catalogue
cataloguing Bug 8334 - Authority UNIMARC 100 field plugin 2013-12-13 16:31:16 +00:00
circ Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00
course_reserves
debian Bug 11284: Packaging updates for master branch 2013-11-27 15:37:45 +00:00
docs Bug 7143: Cleaning up docs/history.txt 2013-11-27 15:44:20 +00:00
errors
etc
install_misc
installer Bug 10970: DBRev 3.15.00.004 2013-12-06 15:53:22 +00:00
Koha Bug 11112: (follow-up) add FIXME 2013-12-10 18:21:09 +00:00
koha-tmpl Bug 8334: (follow-up) remove commented JS code 2013-12-13 16:33:21 +00:00
labels Bug 11222: fix crash that can occur in search for items to add to label batch 2013-11-23 19:54:38 +00:00
members Bug 11009: (follow-up) tweak wording and remove potential log noise 2013-12-10 20:20:37 +00:00
misc Bug 6435: (follow-up) make -daemon really imply -a and -b 2013-11-24 18:20:56 +00:00
offline_circ
opac Bug 10605: fix encoding issue in basket email (OPAC) 2013-12-10 04:36:37 +00:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
reserve
reviews
rotating_collections
selenium
serials Bug 11091: (follow-up) perltidy on serials/subscription-bib-search.pl 2013-12-05 16:15:26 +00:00
services
skel
sms
suggestion Bug 9261: (follow-up) remove reference to deprecated DHTMLcalendar 2013-11-15 00:23:59 +00:00
svc
t Bug 11112: (follow-up) repair Koha::Calendar->add_holiday() 2013-12-10 18:19:15 +00:00
tags
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities
tools Bug 10661: format mandatory item fields the same on all forms 2013-12-10 04:17:48 +00:00
virtualshelves Bug 10853: All existing routing to get a CSV should return a MARC csv 2013-10-11 02:16:33 +00:00
xt Bug 11304: fix display of detail page holdings tab in translated Bootstrap theme 2013-11-27 16:52:02 +00:00
.htaccess
.mailmap
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl Bug 11238: contruct links to the appropriate manual version dynamically 2013-11-23 19:30:16 +00:00
INSTALL
install-CPAN.pl
INSTALL.debian Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 10970: DBRev 3.15.00.004 2013-12-06 15:53:22 +00:00
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.robots
rewrite-config.PL

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/