]> git.koha-community.org Git - koha.git/commit
Bug 18812 - SIP Patron status does not respect OverduesBlockCirc
authorNick Clemens <nick@bywatersolutions.com>
Thu, 15 Jun 2017 15:07:03 +0000 (11:07 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Oct 2017 08:22:13 +0000 (10:22 +0200)
commit4b360f1371a56268458b62e5c8c68da853b4e52d
treeb147fcd0b67567dd04ff0d69173145e15f7dd3d8
parent319f5f67aaa056952ecc9a4500fa52627db4fdcc
Bug 18812 - SIP Patron status does not respect OverduesBlockCirc

To test:
1 - Set 'OverduesBlockCirc' to block
2 - Find or create a patron with overdues
3 - Perform a SIP patron lookup on that patron
misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL
--patron {userid or cardnumber} --password {pass} -m patron_information
4 - Note the first character of response is a ' '
5 - Apply patch
6 - Restart memcached, apache, and plack
7 - Perform SIP patron lookup
8 - Note the first character of response is 'Y'
9 - prove t/db_dependent/SIP/Patron.t
10 - Test should return green

Signed-off-by: Chris Kirby <chris.kirby@ilsleypubliclibrary.org>
Works as advertised

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ff4f0858950c37eeede38b2f067841602b97d7ba)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Patron.t