[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
Thu Jan 6 14:32:18 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29788
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #129013|0 |1
is obsolete| |
--- Comment #11 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 129076
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129076&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