[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.11-29-ge8b533b

Git repo owner gitmaster at git.koha-community.org
Mon Oct 24 11:45:03 CEST 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  e8b533b27ae6f89254c7f74b6e47c2e2452f53aa (commit)
       via  05f67857a177dc887933fc7beee7588ae71a31a5 (commit)
       via  a38f9ea7c48e7c316bf046450f2c018945b07b30 (commit)
       via  1e6cc05d855f37b8915570d6b6eb415c668b6cac (commit)
      from  42e01bf600f04fb0aa1de7e88794b355897740a3 (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 e8b533b27ae6f89254c7f74b6e47c2e2452f53aa
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 4 14:49:19 2016 +0100

    Bug 17088: Add tests to cover the changes
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit bc1e23e1f11e146e282d0e2efa7fd77e2c26d631)
    (cherry picked from commit 1c35b86c2e7b7dd00bf677f51d8a141e3c281072)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 05f67857a177dc887933fc7beee7588ae71a31a5
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Sep 16 11:27:05 2016 +0200

    Bug 17088: [Follow-up] Use Logger for failed exports
    
    Fixes a TODO for logging unsupported record_type in _get_record_for_export.
    Also logs a warning when the record_type parameter is not supplied at all in sub export.
    Replaces a warn by a log message about an invalid record for format iso2709.
    Also adds a log message about an invalid record for format xml.
    Adds a trivial unit test for passing no record_type to export.
    
    Test plan:
    See also first patch.
    Run t/db_dependent/Exporter/Record.t.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Also tested the log messages for iso2709 and xml by manipulating
    the record_type parameter with:
        $params->{record_type}='xx';
    before calling _get_record_for_export in Record.pm.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 0eec191ed3ab1ae1bd24972a559d12627b70f681)
    (cherry picked from commit 40a2b8c12150d6fe193ba10c808b47069494157a)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit a38f9ea7c48e7c316bf046450f2c018945b07b30
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Sep 16 10:44:47 2016 +0200

    Bug 17088: [Follow-up] Adjust POD in Logger.pm
    
    Not important enough to go on its own.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 44b51ed80224d0361796c1a70cb66bb5096a427c)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 051661024ca92a343ad74e2664627c070bb5c66e)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 1e6cc05d855f37b8915570d6b6eb415c668b6cac
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Aug 9 13:08:17 2016 +0000

    Bug 17088 - Bad MARC XML can halt export_records.pl
    
    If export_records.pl encounters a record that fails to load correctly as
    a MARC::Record the export process will fail and only the records
    encountered up to that point will be exported.
    
    Test Plan:
    1) Pick a record in your database, and replace the biblioitems.marcxml field with some random characters
    2) Export your records using the command:
       misc/export_records.pl  --format xml --record-type bibs --filename /tmp/biblios.xml
    3) Note you get an error and the script ends prematurely
    4) Apply this patch
    5) Repeat step 2
    6) Note the full record set is exported ( except for your bad record )
    7) Note an error is still generated for your bad record ( useful for
        tracking down bad records ).
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit e72a8ab260abed11b02266d77bc17d831884ed40)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit cb1ee8e3ccbc8bbce47b9db502a90c09e2a6ec3f)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 Koha/Exporter/Record.pm          |   21 ++++++---
 Koha/Logger.pm                   |    8 +++-
 t/db_dependent/Exporter/Record.t |   89 +++++++++++++++++++++++++-------------
 3 files changed, 81 insertions(+), 37 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list