[koha-commits] main Koha release repository branch master updated. v16.05.00-973-g0599ab0

Git repo owner gitmaster at git.koha-community.org
Mon Oct 10 12:16:54 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  0599ab00768e7d2ee487c6d02a0230d4a2a96d9e (commit)
      from  130534c4241397992521d6da49ebdc761203b3e3 (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 0599ab00768e7d2ee487c6d02a0230d4a2a96d9e
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Tue Sep 20 19:29:28 2016 -0400

    Bug 17324: Deal with branchcode NULL issue
    
    In a database update we alter the letter table, making a column
    (branchcode) not be able to contain NULL values.
    However if it already does, this SQL fails. So before changing the
    column we change the NULL values
    
    [Tue Sep 20 19:08:10 2016] updatedatabase.pl: DBD::mysql::db do failed:
    Invalid use of NULL value [for Statement "
    [Tue Sep 20 19:08:10 2016] updatedatabase.pl: ALTER TABLE letter MODIFY
    COLUMN branchcode varchar(10) NOT NULL DEFAULT ''
    [Tue Sep 20 19:08:10 2016] updatedatabase.pl: "] at
    /home/mtompset/kohaclone/installer/data/mysql/updatedatabase.pl line
    12638.
    
    Reproduce:
    on an ubuntu 16.04 LTS machine with MySQL 5.7 install git koha
    development environment.
    ...
    git checkout -b my_3.18.x origin/3.18.x
    drop database koha_library;
    create database koha_library;
    quit;
    web install all sample data
    (ignore some issues with sample data, and one with mandatory)
    
    git checkout -b bug_17234 origin/master
    git bz apply 17292
    git bz apply 17320
    git bz apply 17260
    git bz apply 17234
    web install
    Two warning messages are expected output from upgrade process, but
    the above message is not.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Did not follow the test plan, but the changes make sense
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 installer/data/mysql/updatedatabase.pl |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list