@@ -, +, @@ 2a. change to Koha git directory 2b. koha-shell kohadev 2c. perl C4/SIP/SIPServer.pm /etc/koha/sites/kohadev/SIPconfig.xml perl misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL --patron 1 --item 3999900000001 -m checkout http://localhost:8081/cgi-bin/koha/tools/viewlog.pl perl misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL --patron 1 --item 3999900000001 -m checkin perl misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL --patron 1 --item 3999900000001 -m checkout http://localhost:8081/cgi-bin/koha/tools/viewlog.pl --- C4/SIP/SIPServer.pm | 4 ++++ 1 file changed, 4 insertions(+) --- a/C4/SIP/SIPServer.pm +++ a/C4/SIP/SIPServer.pm @@ -16,6 +16,7 @@ use C4::SIP::Sip::Constants qw(:all); use C4::SIP::Sip::Configuration; use C4::SIP::Sip::Checksum qw(checksum verify_cksum); use C4::SIP::Sip::MsgType qw( handle login_core ); +use Koha::Caches; use base qw(Net::Server::PreFork); @@ -91,6 +92,9 @@ sub process_request { $self->{config} = $config; + # Flushing L1 to make sure the request will be processed using the correct data + Koha::Caches->flush_L1_caches(); + my $sockname = getsockname(STDIN); # Check if socket connection is IPv6 before resolving address --