[koha-commits] main Koha release repository branch master updated. v3.22.00-328-g9afc8e9

Git repo owner gitmaster at git.koha-community.org
Wed Jan 27 03:17:23 CET 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  9afc8e96f3d173a3998cbec2a4ad7ceaf506e49a (commit)
      from  581759e985c170db0edb4a895cda641930e5ac11 (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 9afc8e96f3d173a3998cbec2a4ad7ceaf506e49a
Author: Marc Véron <veron at veron.ch>
Date:   Mon Dec 28 12:15:18 2015 +0100

    Bug 14015 - Checkout: Fix software error if barcode '0' is given
    
    To reproduce the bug:
    - Go to Home > Circulation > Checkouts > [a patron]
    - Enter 0 (zero) in barcode field and hit Enter
    
    Result:
    Software error
      Can't use string ("1") as a HASH ref while "strict refs" in use
      at /usr/share/kohaclone/circ/circulation.pl line 473
    
    To test:
    - Apply patch
    - Repeat steps above
    - Verify that the sofware error is gone and that you get a
      message as with other invalid barcodes.
    - Test with other values: '00', '000', existing barcode,
      and a barcode that does not exist
    - Test with empty barcode (for printing slip)
    - Search for regressions
    
    This patch implements Jonathan's solution (see comment #15)
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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

Summary of changes:
 circ/circulation.pl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list