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

--- Comment #5 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to