[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.10-51-g1096c17

Git repo owner gitmaster at git.koha-community.org
Fri Sep 16 12:04:34 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  1096c177a79a55ad134466efd7e2c65605e7714c (commit)
      from  b098500c713494e18c571314ec34b74273821f92 (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 1096c177a79a55ad134466efd7e2c65605e7714c
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>
    (cherry picked from commit a9eb4005811882da0eb5e20b52861a3c85556dff)
    (cherry picked from commit 26ccb6a4809154368e02e5c147414fc7a19d31be)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.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