[Koha-bugs] [Bug 29522] Bib record not correctly updated when merging identical authorities with LinkerModule set to First Match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 6 17:54:40 CEST 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com

--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
I supplied a patch, going a different route. Please test and let me know if you
think this makes sense. It will require unit tests, however, there are
currently no tests in this module so I wanted to see if this patch works as
expected before delving into the tests.

There are three scenarios where we call merge:
1 - When merging from an old authority to a new
2 - When updating an authority
3 - When deleting an authority

In each case, I believe running an autolink is not needed:
1 - Here we have specified the merge, so we have chosen the record we wish to
be linked to
2 - We are changing a heading and want to change the linked records - we don't
want to link them elsewhere
3 - When deleting we will remove the headings, so there is nothing left to
relink

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


More information about the Koha-bugs mailing list