[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.05-1-52-ga92a5e2

Git repo owner gitmaster at git.koha-community.org
Mon Dec 23 18:52:00 CET 2019


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, 19.05.x has been updated
       via  a92a5e296757b0cee371d95dd3083b7777086ec9 (commit)
      from  7304459b6d3fe93e2cbb446142d9034344a9b5c8 (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 a92a5e296757b0cee371d95dd3083b7777086ec9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun Dec 15 12:53:06 2019 +0100

    Bug 24243: Do not explode if invalid metadata when searching catalogue
    
    If the bibliographic record metadata cannot be decoded, the get_coins
    call should catch the exception raised by Koha::Biblio::Metadata->record
    to not explode
    
    Error is: "Invalid data, cannot decode objec"
    
    Test plan:
    0/ Do not apply the patch
    1/ Search for record at the OPAC
    2/ Note one of the biblionumber from the first page result
    3/ Set to empty string the biblio_metadata to make the error appears:
      update biblio_metadata set metadata="" where biblionumber=42;
    4/ Try the same search
    => You get an internal server error
    5/ Apply the patch, restart plack and try again
    => It now works, ie. it does not explode
    
    Signed-off-by: Liz Rea <wizzyrea at gmail.com>
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit bec6babff62908fe73cb33e825fac63b25c1468e)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list