[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-741-g2bcec70

Git repo owner gitmaster at git.koha-community.org
Thu Jun 27 17:40:04 CEST 2013


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  2bcec70262ce8127e3755327d4d5261e0e964844 (commit)
      from  bfbc646fdd9ca4b90a0bc2751d0faa95d9e93ba1 (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 2bcec70262ce8127e3755327d4d5261e0e964844
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon Jun 24 12:33:58 2013 +0200

    Bug 7368: Followup for columns names in userflags.sql
    
    An insert statement should contain the column names to avoid confusion and
    future problems with table definition changes.
    
    This patch updates the English userflags.sql.
    
    Will send updates for the other languages in connection with replacing inserts
    by updates for the additional languages (where possible). For userflags this
    will be possible.
    
    Test plan:
    Do an install (English).
    
    Or -- as a dangerous(!) alternative--:
    Do this ONLY on a restorable database.
    Delete all records in userflags. (Note: This cascades to permissions a.o.)
    Run this file from command line.
    Check if you have records again in userflags. (You also messed up your Koha.)
    Restore your database.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Tested both ways myself :)
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    
    Comment: Work as described. No errors.
    Tested using second alternative
    
    Just a note: if you update other lang files replacing INSERTs for UPDATEs
    then you must install using EN and later apply lang files by hand.
    If you do a translate first before webinstaller, and finish your install
    in your lang, then that kind of file will fail.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    mysql> create database test;
    Query OK, 1 row affected (0.00 sec)
    
    % mysql -u koha -p test < installer/data/mysql/kohastructure.sql
    % mysql -u koha -p test < installer/data/mysql/en/mandatory/userflags.sql
    
    mysql> select count(*) from userflags;
    +----------+
    | count(*) |
    +----------+
    |       19 |
    +----------+
    1 row in set (0.00 sec)
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 installer/data/mysql/en/mandatory/userflags.sql |   39 ++++++++++++-----------
 1 files changed, 20 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list