Koha-clms/C4/SIP/ILS/Transaction
Nick Clemens d58beb621e Bug 27166: [20.05.x] Set destination_loc to item->homebranch
In bug 21020 we used the issue to fetch the item and then the homebranch.
This fails when the item is not issued. We fetch the item already, so we
can use it directly

In 20.05.x we don't have the item object, so we can just use the SIP transaction item

To test:
1 - Have an item belonging to branch A
2 - Check it in via sip at branch B:
    perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 --item CHESS1 -l FPL -m checkin
3 - The read command is blank and there is a warn about uninitialized data
4 - Apply patch
5 - Restart sip server
6 - Check the item in at branch A using the sip cli emulator
7 - Check it in at branch B
8 - This time the checkin should succeed and the output msg should be included

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2020-12-18 20:01:05 +00:00
..
Checkin.pm Bug 27166: [20.05.x] Set destination_loc to item->homebranch 2020-12-18 20:01:05 +00:00
Checkout.pm Bug 23403: Remove cardnumber from SIP 2020-05-15 09:48:20 +01:00
FeePayment.pm Bug 25095: Remove warn left in FeePayment.pm 2020-04-14 08:20:53 +01:00
Hold.pm Bug 23403: Fix whitespace 2020-05-15 09:48:27 +01:00
Renew.pm Bug 23403: Remove cardnumber from SIP 2020-05-15 09:48:20 +01:00
RenewAll.pm Bug 15253: Rename syslog() to siplog() 2020-05-12 11:46:46 +01:00