[koha-commits] main Koha release repository branch master updated. v16.05.00-145-g87dbed0

Git repo owner gitmaster at git.koha-community.org
Tue Jun 21 22:50:10 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  87dbed0abd67e88ae85f633d9f4c63c38a2f7e24 (commit)
      from  a96d496c9b8860e493f2d6993ba033b13b8b8b80 (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 87dbed0abd67e88ae85f633d9f4c63c38a2f7e24
Author: Marc Véron <veron at veron.ch>
Date:   Thu Jun 16 09:27:55 2016 +0200

    Bug 16747 - Patron card creator broken with version 16.05
    
    To reproduce:
    - Prepare a patron car layout with Image 1 using Patron Image
    - Create a patron card for a patron without patron image
    Result: OK, PDF can be opened wit PDF viewer
    - Try to create a patron card with a patron who has a patron image
    Result: The PDF file is corrupt (contains text only with error message)
            intranet error log contains: create-pdf.pl: Illegal division
            by zero at /usr/share/kohaclone/patroncards/create-pdf.pl line 200
    To test:
    - Apply patch
    - Create a patron card with a patron who has a patron image
    Result: PDF is OK and contains the image
    
    Bonus test: Do the same with a card layout with an additional image
    (Image 2: Image source: Other image)
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Test and bonus test pass: PDF generated without errors.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 patroncards/create-pdf.pl |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list