[Koha-bugs] [Bug 25324] After editing an authority record with CatalogModuleRelink on, race condition between relinking and saving the edited record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 24 04:01:35 CET 2021


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

--- Comment #2 from Phil Ringnalda <phil at chetcolibrary.org> ---
The worst part of this bug is actually the Delete action: we think that "Koha
doesn't allow you to delete an authority from search results unless there are
no linked bibs" but what's actually the case is that "Koha doesn't allow you to
delete an authority from search results unless there are no linked bibs *at the
time you loaded the search results*". About once a month, I do something that
will trigger this and despite knowing about this bug, I wind up deleting the
authority which had zero bibs linked at the time, only to see when the search
reloads after I delete that I was in the middle of a race of relinking, and I
deleted the authority which actually had two bibs attached by the time I
deleted it, which results in deleting the linked fields from the bib records as
well. Then I have to figure out which bibs I just ruined (easy enough with an
author, mostly, but guessing which two bibs you just deleted a subject heading
from can be a bit challenging).

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


More information about the Koha-bugs mailing list