[Koha-bugs] [Bug 29788] Make Koha::Item->safe_to_delete return a Koha::Result::Boolean object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 4 16:16:47 CET 2022


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 128993
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128993&action=edit
Bug 29788: Make Koha::Item->safe_to_delete use Koha::Result::Boolean

This patch reuse the (awesome) Koha::Result::Boolean module to retrieve
the return of Koha::Item->safe_to_delete.

Test plan:
Try to delete an item that has previously been checked out and confirm
that you are still blocked.
Try using the cronjobs, the item and biblio detail pages, as well as the
batch delete item tool.

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


More information about the Koha-bugs mailing list