Bug 22016: Always send CT field for SIP checkin, even if empty
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 17 Dec 2018 19:41:48 +0000 (14:41 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 27 Feb 2019 14:14:21 +0000 (09:14 -0500)
commit3e63209fa828144099cfdde2a740e372c4722287
tree1f35e35ea3a433ed8b66ce36268ef6e5e47716ec
parent08c83dbc6e5c57546c30ac76071e7a94891bacb9
Bug 22016: Always send CT field for SIP checkin, even if empty

Some SIP devices ( in this particular case, bin sorting machines from RFID Library Solutions ) require a CT field to be sent, even if that field is empty. Koha should be able to support this behavior.

Test Plan:
1) Apply this patch
2) Enable the new option ct_always_send for a SIP2 account
3) Restart SIP
4) Check in an item successfully via SIP, which will not be transferred
5) Note the response contains a CT field with no value

Sponsored-by: Pueblo City-County Library District

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jill Kleven <jill.kleven@pueblolibrary.org>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml