]> git.koha-community.org Git - koha.git/commit
Bug 9531: Make SIP2 message terminator configurable via SIPconfig.xml
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 1 Feb 2013 15:40:50 +0000 (10:40 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 6 Nov 2013 13:35:01 +0000 (10:35 -0300)
commitb0474ebcf0a83cbbe8484b95986b350162959188
tree5a2aae632fcc7126764de926b77e786af5f921d9
parent75e51cdc63948da19779fd650d191d1a1785bfd7
Bug 9531: Make SIP2 message terminator configurable via SIPconfig.xml

Add a terminator option to SIPConfig.xml, choices for 'terminator' are
'CR' or 'CRLF'.  The default continues to be 'CRLF' if 'terminator' is
undefined.

Test Plan:
1) Apply patch
2) Start SIP server
3) Run C4/SIP/t/04patron_status.t
4) Stop SIP server
5) Add terminator="CR" for account login 'term1'
6) Run 04patron_status.t again, you should see no change

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Adrien Saurat <adrien.saurat@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 90e2aafeb538f2d5e52fd1d32fce528f72076df8)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml