[Koha-bugs] [Bug 32537] Add 'no_block' option to sip_cli_emulator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 1 22:13:38 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32537

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com
  Text to go in the|                            |This enhanced adds the
      release notes|                            |no-block option to the SIP
                   |                            |emulator for optional use
                   |                            |in checkout/checkin/renew
                   |                            |messages.

--- Comment #3 from David Nind <david at davidnind.com> ---
Koha testing notes (using KTD - used 39999000011418 as the item). I have
included the responses I got for the commands as there were unitialized values
reported in the output, and I don't know whether these are expected or not.

1. Response for step 1:

root at kohadevbox:koha(bz32537)$ perl misc/sip_cli_emulator.pl -a localhost -p
6001 -l CPL -su term1 -sp term1 -m checkin --item 39999000011418
Attempting socket connection to localhost:6001...connected!
Use of uninitialized value $hold_mode in string eq at misc/sip_cli_emulator.pl
line 120.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230101    20473320230101   
204733APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230101    204734AOCPL|AB39999000011418|AQCPL|AJProgramming Perl
/|CRREF|

2. To restart SIP: koha-sip --restart kohadev

3. Response for step 4:

root at kohadevbox:koha(bz32537)$ perl misc/sip_cli_emulator.pl -a localhost -p
6001 -l CPL -su term1 -sp term1 -m checkin --item 39999000011418
Attempting socket connection to localhost:6001...connected!
Use of uninitialized value $hold_mode in string eq at misc/sip_cli_emulator.pl
line 124.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230101    20543120230101   
205431APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230101    205431AOCPL|AB39999000011418|AQCPL|AJProgramming Perl
/|CRREF|


4. Response for step 6:

root at kohadevbox:koha(bz32537)$ perl misc/sip_cli_emulator.pl -a localhost -p
6001 -l CPL -su term1 -sp term1 -m checkin --item 39999000011418 -n N
Attempting socket connection to localhost:6001...connected!
Use of uninitialized value $hold_mode in string eq at misc/sip_cli_emulator.pl
line 124.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230101    20552620230101   
205526APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230101    205526AOCPL|AB39999000011418|AQCPL|AJProgramming Perl
/|CRREF|


5. Response for step 8:

root at kohadevbox:koha(bz32537)$ perl misc/sip_cli_emulator.pl -a localhost -p
6001 -l CPL -su term1 -sp term1 -m checkin --item 39999000011418 -n Y
Attempting socket connection to localhost:6001...connected!
Use of uninitialized value $hold_mode in string eq at misc/sip_cli_emulator.pl
line 124.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09Y20230101    20561720230101   
205617APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
Use of uninitialized value $data in concatenation (.) or string at
misc/sip_cli_emulator.pl line 356, <GEN0> chunk 1.
READ:

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list