[koha-commits] main Koha release repository branch master updated. v16.05.00-52-gab1beed

Git repo owner gitmaster at git.koha-community.org
Mon Jun 6 19:30:44 CEST 2016


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  ab1beed06f249d1e7d0be5bb1b584e62f5b48783 (commit)
      from  d9ef98b9b66440240ae9a3baadbf9b1f665e8aab (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 ab1beed06f249d1e7d0be5bb1b584e62f5b48783
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri May 13 20:46:42 2016 +0100

    Bug 16518: Fix Plack variable scoping problem in opac-addbybiblionumber.pl
    
    The script opac/opac-addbybiblionumber.pl is not plack safe because the
    variable @biblios is declared with our and is not assigned to an empty
    array (so not reset).
    
    The issue:
    When trying to add items to a list (virtualshelf), the biblionumbers are
    added to the @biblios variable and the list is not reset between each
    run.
    
    Test plan:
    Check from records from the result list and add them
    to a list.
    Cancel or save and re-add them (or others) to a list (same or
    different).
    => Without this patch, the list of records will never stop growing, the
    previous items added are still listed when adding new ones.
    => With this patch, the behavior is the one expected.
    
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 opac/opac-addbybiblionumber.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list