Koha/C4/SIP/ILS/Transaction
Jonathan Druart 505630ca08 Bug 21020: Fix return branch on transfer - SIP
Caused by
  commit 546379cc92
  Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls

Since this commit AddReturn return a Koha::Issue object, not a hashref
with item's info.

Test plan:
1 - Enable SIP server on your test instance
   For kohadevbox:
   cp /etc/koha/SIPConfig.xml /etc/koha/sites/kohadev/
   create patron with user/pass term1/term1 and grant circulation
   privileges
2 - enable AutomaticItemReturn
3 - Checkin an item which will generate a transfer via SIP2:
   perl /home/vagrant/kohaclone/misc/sip_cli_emulator.pl -a localhost -p
   6001 -su term1 -sp term1 -l LPL --item {BARCODE} -m checkin -t
   CR
4 - Note no CT field
5 - Apply patch
6 - Repeate checkin via SIP2
7 - Transfer destination is correctly returned in CT

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-06 10:13:32 +00:00
..
Checkin.pm Bug 21020: Fix return branch on transfer - SIP 2018-07-06 10:13:32 +00:00
Checkout.pm Bug 20251: (bug 19280 follow-up) FIX SIP checkout 2018-03-15 08:17:10 +00:00
FeePayment.pm Bug 16899: Add ability to disallow overpayments 2017-10-27 14:10:29 -03:00
Hold.pm Bug 19059: Move C4::Reserves::CancelReserve to Koha::Hold->cancel 2017-09-12 12:42:58 -03:00
Renew.pm Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
RenewAll.pm Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00