[koha-commits] main Koha release repository branch master updated. v20.05.00-217-g189851fb9b
Git repo owner
gitmaster at git.koha-community.org
Mon Jul 13 17:10:27 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, master has been updated
via 189851fb9bbc831bb2875c2c440877c2562583d0 (commit)
from 46d3ec264c4e46cc73ee1713b5c39e6c564e5a1a (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 189851fb9bbc831bb2875c2c440877c2562583d0
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>
-----------------------------------------------------------------------
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