Koha-clms/C4/SIP
Kyle M Hall 56d2ccc3f7 Bug 38486: [24.05.x] For SIP allow noblock checkouts reguardless of normal patron checkout blocks
The purpose of no block checkouts in SIP is to indicate that the SIP machine has made an offline ( "store and forward" ) transaction.
The patron already has the item. As such, the item must be checked out to the patron or the library risks losing the item do to lack of tracking.
As such, no block checkouts should not be blocked under any circumstances.

The sub C4::SIP::ILS::Transaction::Checkout::do_checkout already honors this, but it is wrapped by
C4::SIP::ILS::checkout which has additional checks that do not.

Test Plan:
1) Apply the unit test patch
2) prove t/db_dependent/SIP/Transaction.t will fail
3) Apply the second patch
4) prove t/db_dependent/SIP/Transaction.t will pass!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
2025-03-20 20:27:47 +00:00
..
ILS Bug 23426: (follow-up) This patch reintroduces the former implementation of fine items 2024-12-05 22:50:42 +00:00
Sip Bug 23426: (follow-up) This patch reintroduces the former implementation of fine items 2024-12-05 22:50:42 +00:00
ILS.pm Bug 38486: [24.05.x] For SIP allow noblock checkouts reguardless of normal patron checkout blocks 2025-03-20 20:27:47 +00:00
ILS.pod
…
Logger.pm Bug 26673: Remove shebangs from Perl modules 2020-10-26 00:14:42 +01:00
Makefile
…
README Bug 15253: Rename syslog() to siplog() 2020-05-12 11:46:46 +01:00
SIPServer.pm Bug 37087: Add TCP keepalive support to SIP server 2024-12-31 16:51:59 +13:00
Sip.pm Bug 37816: (QA follow-up) Avoid repetition, typo and pipe test 2025-02-05 01:45:46 +00:00
Trapper.pm Bug 36948: (follow-up) Remove log_file param, adjust caller_depth 2024-07-03 16:17:55 +00:00

README

README for Open NSIP 3M-SIP Server

DEPENDENCIES

SIPServer is written entirely in Perl, but it require these CPAN
perl modules to run:

     Net::Server - The SIP server is a Net::Server::Prefork server
     XML::LibXML
     XML::Parser
     XML::Simple - for parsing the config file
     UNIVERSAL::require - for loading the correct ILS interface module
     Clone - for running the test cases

LOGGING

SIPServer uses Koha::Logger for status and debugging messages.