[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.02-5-gfdaa7ce46a

Git repo owner gitmaster at git.koha-community.org
Fri Jul 24 23:02:52 CEST 2020


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, 20.05.x has been updated
       via  fdaa7ce46a8071cefd846f563224c84590c504c9 (commit)
      from  5680e79f0da5795ab0f99a7b145a6b2115fd39e4 (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 fdaa7ce46a8071cefd846f563224c84590c504c9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Jul 9 10:52:11 2020 +0200

    Bug 25964: Prevent data loss when editing items from a MARC record
    
    Coming from:
      Bug 23463: Use new method Koha::Object->set_or_blank
    
    We have DB fields that are not mapped with MARC fields, for instance paidfor. They are not handled correctly.
    
    In ModItemFromMarc, we get a MARC record in parameter and update the item in DB. But we are loosing the fields that are not in the MARC record
    
    Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 189851fb9bbc831bb2875c2c440877c2562583d0)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 C4/Items.pm            | 13 +++++++++++++
 t/db_dependent/Items.t | 10 +++++++---
 2 files changed, 20 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list