[Koha-bugs] [Bug 25814] SIP: Add a message on successful checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 25 04:13:56 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #6 from David Nind <david at davidnind.com> ---
Testing notes (using KTD):

1. Checked out an item to koha using the staff interface: 39999000011418

2. Checked item in using SIP - no message at end after CRREF|: 

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 123.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230925    01381820230925   
013818APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230925    013818AOCPL|AB39999000011418|AQCPL|AJProgramming Perl
/|AA42|CRREF|

3. Applied the patches.

4. Edited /etc/koha/sites/kohadev/SIPconfig.xml and added
show_checkin_message="1":
...
  <accounts>
       <login id="term1"  password="term1" delimiter="|" error-detect="enabled"
institution="CPL" encoding="ascii" checked_in_ok="1" show_checkin_message="1"/>
....

5. Restarted everything (restart_all).

6. Checked out the item again and then checked in using SIP - message displayed
when UseLocationAsAQInSIP = permanent_location:

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 123.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230925    02031820230925   
020318APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230925    020318AOCPL|AB39999000011418|AQGEN|AJProgramming Perl
/|AA42|CRREF|AFItem checked-in: GEN - GEN.|

7. Checked out the item again and the checked in using SIP - message displayed
when UseLocationAsAQInSIP = homebranch:

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 123.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'checkin'
SEND: 09N20230925    02083420230925   
020834APCPL|AOCPL|AB39999000011418|ACterm1|BIN|
READ: 101YNN20230925    020834AOCPL|AB39999000011418|AQCPL|AJProgramming Perl
/|AA42|CRREF|AFItem checked-in: Centerville - GEN.|

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


More information about the Koha-bugs mailing list