[koha-commits] main Koha release repository branch master updated. v16.11.00-917-g475c294

Git repo owner gitmaster at git.koha-community.org
Fri Apr 28 12:25:14 CEST 2017


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  475c294b292eadcc7e8d20307c16591fdf8b9b71 (commit)
       via  11d4ad19aa765fdc22488a07eaca48cb4c965e4e (commit)
      from  bcc04652762ff097623630432946ca9203f7519f (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 475c294b292eadcc7e8d20307c16591fdf8b9b71
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Apr 24 13:53:00 2017 -0300

    Bug 18461: (bug 13757 follow-up) Do not mix decode_json and to_json
    
    Internal server error while approving OPAC-edited patron attributes
    containing umlauts (äöü)
    
    If a OPAC user enters text containing umlauts (äöü) in a patron atribute
    and saves it, the Staff client will get an inernal server error in
    members-update.pl (approving).
    
    E.g. a text like 111ä222 leads to the following in plack error log:
    
    malformed UTF-8 character in JSON string, at character offset 14
    
    To test:
    - Reproduce problem above
    - Apply patch
    - Verify that Home > Patron > Update records displays without error
    and 'New value' displays properly
    - Approve!
    
    Also, run the tests:
    - Run:
      $ sudo koha-shell kohadev
     k$ cd kohaclone
     k$ prove t/db_dependent/Koha/Patron/Modifications.t
    => FAIL: Tests explode due to encoding problems in JSON handling
    - Apply the patch
    - Run the tests again:
     k$ prove t/db_dependent/Koha/Patron/Modifications.t
    => SUCCESS: Tests pass!
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 11d4ad19aa765fdc22488a07eaca48cb4c965e4e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Apr 24 15:45:17 2017 -0300

    Bug 18461: Make tests break on wrong UTF8 data handilng
    
    This patch makes the tests fail if extended attributes handling fails due to
    wrong UTF-8 data handling.
    
    To test:
    - Run:
      $ sudo koha-shell kohadev
     k$ cd kohaclone
     k$ prove t/db_dependent/Koha/Patron/Modifications.t
    => FAIL: Tests explode
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 Koha/Patron/Modification.pm                |    2 +-
 Koha/Patron/Modifications.pm               |    2 +-
 t/db_dependent/Koha/Patron/Modifications.t |    6 ++++--
 3 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list