[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.03-13-gd7587e0

Git repo owner gitmaster at git.koha-community.org
Fri Feb 26 11:00:25 CET 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, 3.22.x has been updated
       via  d7587e0567ac97639e84be668a08d5e6985e3e87 (commit)
      from  8f637cc2ec1d31a2bdc9cd494e94bbd2a2dc381e (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 d7587e0567ac97639e84be668a08d5e6985e3e87
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Mon Feb 15 15:23:19 2016 +0100

    Bug 15818 - OPAC search with utf-8 characters and without results generates encoding error
    
    When searching for something in OPAC which doesn't result in any results but have utf-8
    characters in search string we get following encoding error:
    
    Cannot decode string with wide characters at /usr/lib/i386-linux-gnu/perl5/5.20/Encode.pm line 215.
    
    This is because we are trying to decode string which is allready correctly
    marked as utf-8.
    
    Test scenario:
    
    1) enter search string with utf-8 characters in opac which doesn't
       return any results
    2) verify that you get application error
    3) apply this patch
    4) re-run query and verify that errror is gone
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Step 0: Define "OPACNoResultsFound" with '{QUERY_KW}'
    Note that I don't get the error (Encode 2.60) but the search terms are
    not display correctly.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    The variable to be decoded comes from already decoded vars (via
    the -utf8 flag from CGI), following the trail in Search.pm.
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
    (cherry picked from commit ea69693997fa5ea6f6eef37290c783b507db1213)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 opac/opac-search.pl |    1 -
 1 file changed, 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list