[Koha-bugs] [Bug 27160] Fatal error when ReservesMaxPickUpDelay is empty and item with hold is checked in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 09:52:42 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27160
--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 114296
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114296&action=edit
Bug 27160: Prevent 500 when checking an item in if ReservesMaxPickUpDelay has
been deleted
We could default to 0 if the syspref does not exist.
However I don't think we should deal with that kind of issue, sysprefs
must be in DB.
Test plan:
Delete ReservesMaxPickUpDelay from the DB
Place an item on hold
Check it in
Confirm the hold
Without this patch you get:
"Validation failed for type named Defined declared in package
Specio::Library::Builtins" (see the relevant part of the trace at comment 3)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list