[koha-commits] main Koha release repository branch master updated. v3.14.00-641-g05a6beb

Git repo owner gitmaster at git.koha-community.org
Thu Mar 27 15:22:02 CET 2014


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  05a6beba9f023f87d3355b6e72f35b220cd691b0 (commit)
       via  b21d16ca75bb40371773d3008fcb06c67200ab36 (commit)
      from  1b0dd7eedebc91fa7178d0d4e0768ebc64b41fd2 (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 05a6beba9f023f87d3355b6e72f35b220cd691b0
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Mar 26 20:38:32 2014 +0000

    Bug 11906: ensure that Koha::Database uses UTF8 mode when connecting to databases
    
    This patch fixes an issue whereby the DBIx::Class schema objects
    were not connecting to the underlying database in UTF8 mode.  This
    most visibility manifested as patron list pages not displaying
    diacritics correctly.
    
    To test:
    
    [1] Create a patron list, and make sure that it contains at least
        one patron whose name or patron category description contains
        a non-ASCII character.
    [2] View the list contents; the diacritics should appear mangled.
    [3] Apply the patch.
    [4] View the patron list again.  This time, the diacritics should
        be displayed correctly.  Note that Apache will also log
        "list.pl: Wide character in print ...", but this is the lesser
        of two evils.
    [5] Verify that prove -v t/db_dependent/Koha_Database.t passes.
    [6] (extra credit) Verify that  t/db_dependent/Koha_Database.t
        passes when connect to a PostgreSQL database.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit b21d16ca75bb40371773d3008fcb06c67200ab36
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Mar 26 20:26:26 2014 +0000

    Bug 11906: regression test for using DBIC to store & fetch UTF8 strings
    
    This patch adds a regression test for verifying that a
    DBIx::Class schema object initialized by Koha database sets up
    the database connection to correct store and retrieve UTF8
    values as Perl utf8 strings.
    
    To test:
    
    [1] Apply this patch.
    [2] Run prove -v t/db_dependent/Koha_Database.t
    [3] The test should fail.
    [4] Apply the main patch for this bug, then do step 2 again.
    [5] The test should pass.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 Koha/Database.pm               |    6 +++++-
 t/db_dependent/Koha_Database.t |   21 ++++++++++++++++++---
 2 files changed, 23 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list