[koha-commits] main Koha release repository branch master updated. v3.14.00-115-g6dcc34c

Git repo owner gitmaster at git.koha-community.org
Fri Dec 13 19:12:51 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  6dcc34c1b44f72a8602c4ee95540836e6cd1e7bd (commit)
      from  4927140966844b88ef54dfc4d8e5f39d164ac8f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6dcc34c1b44f72a8602c4ee95540836e6cd1e7bd
Author: Jacek Ablewicz <abl at biblos.pk.edu.pl>
Date:   Wed Oct 16 17:31:04 2013 +0200

    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 at biblibre.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Passes koha-qa.pl, works as advertised, no regressions found.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 acqui/finishreceive.pl |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list