[Koha-bugs] [Bug 27014] SIP2 cannot find patrons at checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 13 14:26:52 CET 2020


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 113602
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113602&action=edit
Bug 27014: Enable C4::SIP::ILS::Patron::new to accept a hash

Caused by bug 23403 - when performing a checkin we lookup the SIP patron
using the borrowernumber, however, SIP only knows how to find a patron
via cardnumber or userid

The change on 23403 was to avoid using an 'id' that didn't always exist
(as some users don't have a userid or cardnumber

When checking in, however, we are not passed a user cardnumber or
borrowernumber, so we don't have those on hand to get the patron.

Test Plan:
1) Check in an item via SIP, note patron is not found
2) Apply this patch
3) Restart all the things!
4) Check in an item via SIP, patron should be found!

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


More information about the Koha-bugs mailing list