[Koha-bugs] [Bug 17913] Merge three authority merge fixes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 17 22:13:54 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17913

--- Comment #30 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 59107
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59107&action=edit
[SIGNED-OFF] Bug 17913: Do not keep a cleared subfield in loose merge mode

If you modify an authority and clear a specific subfield, you expect that
merge respects your edit and clears this subfield too in the biblio
records. It does in the new strict mode, but it does not yet in the
default loose mode.

This patch fixes that by adjusting the code around $exclude so that it
uses a new hash skip_subfields, built from the reporting tags from the old
and the new authority record.

This is supported again by some changes in the unit test.

Test plan:
Run t/db_dependent/Authorities/Merge.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list