[Koha-bugs] [Bug 34153] Add ability to allow items with additional materials notes to be checked out via SIP
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Sep 17 13:56:03 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34153
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. Edit an item for a record and add some text to 952$3 (Materials specified
(bound volume or other part)) - I added a note to Programming Perl (record
#262, barcode 39999000011418).
2. Attempt to check out the item using SIP - item is successfully issued and no
message:
./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL
--patron koha -m checkout --item 39999000011418
Attempting socket connection to 127.0.0.1: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 'checkout'
SEND: 11YN20230917 05411420230917
054114AOCPL|AAkoha|AB39999000011418|ACterm1|BIN|
READ: 121NNY20230917 054114AOCPL|AAkoha|AB39999000011418|AJProgramming Perl
/|AH20230922 235900
3. Check in the item.
4. Enable system preference CircConfirmItemParts (set to 'Require').
5. Attempt to check out the item using SIP - note that the message is 'Item
must be checked out at a circulation desk' and the item is not checked out:
./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL
--patron koha -m checkout --item 39999000011418
Attempting socket connection to 127.0.0.1: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 'checkout'
SEND: 11YN20230917 06184820230917
061848AOCPL|AAkoha|AB39999000011418|ACterm1|BIN|
READ: 120NUN20230917 061848AOCPL|AAkoha|AB39999000011418|AJProgramming Perl
/|AH|AFItem must be checked out at a circulation desk|BLY|
6. Apply the patch.
7. Edit /etc/koha/sites/kohadev/SIPconfig.xml and add
allow_additional_materials_checkout="1" - line 47 should read:
<login id="term1" password="term1" delimiter="|" error-detect="enabled"
institution="CPL" encoding="ascii" checked_in_ok="1"
allow_additional_materials_checkout="1"/>
8. restart_all
9. Repeat step 5 - should now get a different message 'Item has additional
materials: ...', and the item is checked out.
./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL
--patron koha -m checkout --item 39999000011418
Attempting socket connection to 127.0.0.1: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 'checkout'
SEND: 11YN20230917 11150920230917
111509AOCPL|AAkoha|AB39999000011418|ACterm1|BIN|
READ: 121NNY20230917 111509AOCPL|AAkoha|AB39999000011418|AJProgramming Perl
/|AH20230922 235900|AFItem has additional materials: Text added to item
record|
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list