[koha-commits] main Koha release repository branch master updated. v19.05.00-1299-gcce358f

Git repo owner gitmaster at git.koha-community.org
Wed Nov 13 09:27:53 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, master has been updated
       via  cce358f9af5ee9761a875816f603344873838359 (commit)
       via  1e1c5d17a268c6d493c2c71d4b456da7749655c3 (commit)
       via  068943f18d60edc231b59b6232fecabaf1c799ab (commit)
      from  150361c0e58e9a049b03693ce4859b9035d5c558 (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 cce358f9af5ee9761a875816f603344873838359
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Nov 12 18:18:23 2019 +0100

    Bug 23846: Handle exception gracefully at the OPAC
    
    I do not think we should have the same trick as the intranet, and
    display a message. This should be enough.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 1e1c5d17a268c6d493c2c71d4b456da7749655c3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Nov 12 11:15:46 2019 +0100

    Bug 23846: Add a check to the data inconsistencies script
    
    This may be quite long for big catalogue, but I think it is a good one
    to have.
    
    Test plan:
    Same as first patch, then execute search_for_data_inconsistencies.pl
    Notice the error.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 068943f18d60edc231b59b6232fecabaf1c799ab
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Nov 12 11:04:42 2019 +0100

    Bug 23846: Display degraded view when MARCXML is invalid (staff detail)
    
    When an invalid bibliographic record is imported into the catalogue
    there is not warning or error. However the bibliographic record detail
    page will explode (Koha::Biblio::Metadata->record will raise an
    exception).
    
    This patch proposes to catch the exception on this view and display a
    warning about the situation.
    Note that editing/saving the record will fix the MARCXML data and so
    removes the warning (some black magic we should get rid of I suspect).
    
    Test plan:
    - Import a bibliographic record with invalid XML, you can add non
    printable characters, like 0x1F (CTRL-V 1F with vim)
    - Go to the detail page
    => Without this patch you get a 500
    => With this patch applied you get a "degraded view" with a warning
    message, telling you what the error is.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 catalogue/detail.pl                                      |    9 ++++++++-
 .../intranet-tmpl/prog/en/modules/catalogue/detail.tt    |    6 ++++++
 misc/maintenance/search_for_data_inconsistencies.pl      |   14 ++++++++++++++
 opac/opac-detail.pl                                      |    4 +++-
 4 files changed, 31 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list