[koha-commits] main Koha release repository branch new/bug_9496 created. v3.12.00-alpha2-104-g151e220

Git repo owner gitmaster at git.koha-community.org
Fri Mar 22 03:20:45 CET 2013


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, new/bug_9496 has been created
        at  151e22070a189f10dd38e53a1636110a72066fe3 (commit)

- Log -----------------------------------------------------------------
commit 151e22070a189f10dd38e53a1636110a72066fe3
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon Jan 7 19:12:57 2013 -0500

    bug 9496: improve error checking in rebuild_zebra.pl
    
    When using rebuild_zebra to index all records, skip over
    bibliographic or authority records that don't come out
    as valid XML.  Also, strip extraneous XML declarations when
    using --nosanitize.
    
    Test plans
    ----------
    Note that both plans assume that DOM indexing is turned on.
    
    Test plan #1
    ============
    
    [1] Run rebuild_zebra.pl with the -x -nosanitize options.  Without
        the patch, zebraidx should terminate early and complain
        about invalid XML.
    [2] With the patch, the rebuild_zebra.pl should work without
        error.
    
    Test plan #2
    ============
    [1] Intentionally make a MARCXML record invalid, e.g, by running
        the following SQL:
    
        UPDATE bilbioitems SET marcxml = CONCATENATE(marcxml, 'junk')
        WHERE biblionumber = 123;
    
    [2] Run rebuild_zebra.pl -b -x -r
    [3] Without the patch, only part of the database will be indexed.
    [4] With the patch, rebuild_zebra.pl will not export the bad
        record and will give an error message saying so, but will
        successfully index the rest of the records.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Larry Baerveldt <larry at bywatersolutions.com>
    Signed-off-by: Mason James <mtj at kohaaloha.com>
    
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

commit 607b4e7745e830e14906d47e3c4a8e13b23d6fea
Merge: f91da3c be82a5f
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Thu Mar 21 22:16:16 2013 -0400

    Merge branch 'bug_5608' into 3.12-master

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list