[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.07-78-g469c761

Git repo owner gitmaster at git.koha-community.org
Wed Jun 18 17:31:36 CEST 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, 3.14.x has been updated
       via  469c76151425b53f24ba26f671ea17a7595c3434 (commit)
       via  b897b8e73c26e1538bdba7e53adb751a3ad62081 (commit)
      from  695bb9b7a373506336cc5ae63199bd6bec8db565 (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 469c76151425b53f24ba26f671ea17a7595c3434
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>
    (cherry picked from commit 05a6beba9f023f87d3355b6e72f35b220cd691b0)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit b897b8e73c26e1538bdba7e53adb751a3ad62081
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>
    (cherry picked from commit b21d16ca75bb40371773d3008fcb06c67200ab36)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.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