]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 05:44:09 +0000 (05:44 +0000)
commit90e2aafeb538f2d5e52fd1d32fce528f72076df8
tree5dad8619d6f858f0bc18e11e9050b30fc0842329
parentb8e1e7e217363a165275dca46e7d123633a64920
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>
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml