[koha-commits] main Koha release repository branch master updated. v16.05.00-1372-gbdcbb1c

Git repo owner gitmaster at git.koha-community.org
Tue Nov 15 16:51:21 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  bdcbb1c899aec3240ca9f1d84191eca77112f68b (commit)
      from  72fea80a33bc9ea57335e6d8c00500439a38b1c4 (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 bdcbb1c899aec3240ca9f1d84191eca77112f68b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Nov 10 08:44:54 2016 +0000

    Bug 17522: Fix opac-user.pl if OpacRenewalAllowed is set
    
    This patch fixes a bug added by commit 81a04af27804621609004dc370284413baa5caa2
        Bug 14610 - Add and update scripts
    
    If OpacRenewalAllowed is enabled, the following error message is
    displayed:
    
    Template process failed: undef error - The method is_expired is not
    covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121.
    
    The is_expired and BlockExpiredPatronOpacActions methods did not exist
    for the Koha::Patron object. These 2 values were returned by
    GetMemberDetails.
    
    To fix this, we need bug 17579 which introduces the
    Koha::Patron->is_expired method and also bug 17604 for the
    Koha::Patron->effective_BlockExpiredPatronOpacActions.
    
    Test Plan:
    1) Check out an item for a patron
    2) Enable OpacRenewalAllowed
    3) Log in as that patron, go to opac-user.pl
    4) Note the error
    5) Apply this patch
    6) Reload opac-user.pl
    7) Page should now load!
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list