[koha-commits] main Koha release repository branch master updated. v16.05.00-888-ga9eb400

Git repo owner gitmaster at git.koha-community.org
Thu Sep 15 15:42:52 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, master has been updated
       via  a9eb4005811882da0eb5e20b52861a3c85556dff (commit)
      from  2e79c211db318969b7c9d5ff538dfd54ba1aaed2 (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 a9eb4005811882da0eb5e20b52861a3c85556dff
Author: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
Date:   Thu May 19 17:12:06 2016 +0300

    Bug 16556 - KohaToMarcMapped columns sharing same field with biblio(item)number are removed.
    
    REPLICATE ISSUE:
    
    1. Map biblio.frameworkcode to 999$b
    2. Map biblio.biblionumber to 999$c
    3. Add a record with something in 999$b
    4. 999$b is removed by C4::Biblio::AddBiblio()
    
    After this patch, the field used by biblio.biblionumber or biblioitems.biblioitemnumber
    is not removed and created anew, thus dropping all existing additions.
    
    There is no point in dropping the field in any case, since we can just replace
    the existing subfields in-place with no need to recreate the whole field.
    
    UNIT TESTS INCLUDED
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Biblio.pm |   91 ++++++++++++++++++++++++++++++----------------------------
 t/Biblio2.t  |   55 +++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+), 44 deletions(-)
 create mode 100644 t/Biblio2.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list