Attempts to checkout via sip cause the sipserver to crash. The interface to CanBookBeIssued was altered so it now requires a Koha::Patron object. When passed an oldstyle Patron hash it aborts on the call to unblessed. Can be mitigated by retrieving a Patron object with Koha::Patrons->find( { cardnumber => $borrower->{cardnumber}} ); in _can_we_issue sub of Checkout.pm but it may be time to look at rationalizing the patron handling in the SIP routines
Caused by commit d8dc86bc4bde4b5744cd0bc954e1e5767250dde2 Bug 19280: Pass a Koha::Patron to CanBookBeIssued
Created attachment 72291 [details] [review] Bug 20251: (bug 19280 follow-up) FIX SIP checkout
Hi Colin, thanks for catching that! Does this patch make sense to you?
Created attachment 72308 [details] [review] Patch with signoff
(In reply to Jonathan Druart from comment #3) > Hi Colin, thanks for catching that! > Does this patch make sense to you? Yes, I've ran tests doing issues and related operations and responses are ok
QA: Looking here now
Created attachment 72343 [details] [review] Bug 20251: (bug 19280 follow-up) FIX SIP checkout Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed to master for 18.05, thanks to all for your hard work.
Dependency not in stable.