[Koha-bugs] [Bug 8132] Batch delete tool deletes items with holds on them

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 1 14:26:04 CEST 2020


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

--- Comment #85 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #84)
> (In reply to Jonathan Druart from comment #83)
> > (In reply to Marcel de Rooy from comment #82)
> > > (In reply to Jonathan Druart from comment #81)
> > > > What do you suggest?
> > > 
> > > Maybe we should stick to the scope that the title suggests. Do not delete
> > > items with holds. Biblio level holds are out of scope.
> > 
> > No, it's the main point of this bug report.
> > 
> > We want to prevent deletion of the last item of a bibliographic record with
> > a biblio-level hold on it.
> 
> Sorry, I can't agree on that reading comments and patches.

See comment 0:
"""
I don't think it always did this - but I tested today on 3.8 and it deleted an
item and a bib record (cause I checked that box) that had holds on it.
"""
Then comment 1:
"""
This is how you end up with phantom holds that can never be deleted.
"""
And comment 20.

I can confirm that I wrote those patches to prevent such deletion, and so
phantom holds.

That's why I rebuilt a bit the interface to display the why an item cannot be
deleted, and so introduced the new "last_item_for_hold" error code.

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


More information about the Koha-bugs mailing list