[koha-commits] main Koha release repository branch master updated. v16.05.00-446-g26f20d6

Git repo owner gitmaster at git.koha-community.org
Wed Aug 10 15:10:24 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  26f20d64cb6336b4911f91befa736539946a0a0c (commit)
      from  5b4259be9c237c7773f6af9f6c83894718be603d (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 26f20d64cb6336b4911f91befa736539946a0a0c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Aug 8 10:48:36 2016 +0100

    Bug 17069: Koha::Patron::Category->store must default checkprevcheckout to 'inherit'
    
    Creating a new patron category raises an error "An error occurred when updating
    this patron category. Perhaps it already exists."
    DBIx::Class does not default to the value defined at the DB devel if the
    key checkprevcheckout has been passed to the constructor.
    We may need to provide a global fix for this kind of issue: if a column
    is defined as "not null" but has a default value, the constructor
    (Koha::Object->new) should not pass it to the DBIx::Class constructor
    (even if assuming that null means default is a terrible mysqlism).
    
    Test plan:
    Create a new patron category.
    
    Works as expected.
    Signed-off-by: Marc <veron at veron.ch>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 Koha/Patron/Category.pm                 |    7 +++++++
 t/db_dependent/Koha/Patron/Categories.t |    7 ++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list