Koha-clms/C4/SIP
Matthias Meusburger 47c3527af3
Bug 38658: Display message for expired patrons in SIP when NotifyBorrowerDeparture is disabled
This patch restores the behavior that existed in SIP before Bug 25813 - Enhance patron expiration in SIP display:
Always consider an expired patron as expired, even if NotifyBorrowerDeparture is set to 0 (disabled) or unset.

Test plan:

 - Set NotifyBorrowerDeparture to 0

 - Set a patron's expiry date to be in the past

 - Use misc/sip_cli_emulator.pl to display patron information:
   perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL -t CR --patron <cardnumber> -m patron_information

 - Check that you have the following message (AF field):
 "Greetings from Koha. Your account has expired as of <expired date>"

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-02-21 16:41:28 +01:00
..
ILS Bug 38658: Display message for expired patrons in SIP when NotifyBorrowerDeparture is disabled 2025-02-21 16:41:28 +01:00
Sip Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ILS.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ILS.pod
…
Logger.pm Bug 26673: Remove shebangs from Perl modules 2020-10-26 00:14:42 +01:00
Makefile
…
README
…
SIPServer.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Sip.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Trapper.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01: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.