[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.02-26-g80c042c

Git repo owner gitmaster at git.koha-community.org
Fri Jan 29 12:09:39 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, 3.22.x has been updated
       via  80c042cf41932e3c6d9d7d70365e9fd26538f80e (commit)
      from  64eb1f88ea741ca06b0a17bf4186ad25c7487f81 (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 80c042cf41932e3c6d9d7d70365e9fd26538f80e
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>
    (cherry picked from commit 9afc8e96f3d173a3998cbec2a4ad7ceaf506e49a)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

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