[Koha-bugs] [Bug 34764] sip_cli_emulator -fa/--fee_acknowledge does not act as expected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 13 02:14:38 CEST 2023


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

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

1. After each command, I checked the item back in using the staff interface
when required. I tested without and with a rental fee for the item type - not
sure whether I needed to do that or not, or if that was going overboard!

2. I edited the commit message to include the '-m checkout' at the end of each
command (see comment #3).

3. (1a) Result from step 1a:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21260620230912   
212606AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 121NNY20230912    212606AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item not checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    23592420230912   
235924AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 120NUN20230912    235924AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH|BLY|BV1.00|BHUSD|BT06|


4. (1b) Result from step 1b:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21295620230912   
212956AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 121NNY20230912    212956AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item not checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230913    00002820230913   
000028AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 120NUN20230913    000028AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH|BLY|BV1.00|BHUSD|BT06|


5. (1c) Result from step 1c:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21312020230912   
213120AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 121NNY20230912    213120AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item not checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230913    00013520230913   
000135AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 120NUN20230913    000135AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH|BLY|BV1.00|BHUSD|BT06|


6. (2a) Result from step 2a - item not checked out:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21324520230912   
213245AOCPL|AA23529000035676|AB39999000007756|ACterm1|BIN|
READ: 121NNY20230912    213245AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item not checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    23555020230912   
235550AOCPL|AA23529000035676|AB39999000007756|ACterm1|BIN|
READ: 120NUN20230912    235550AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH|BLY|BV1.00|BHUSD|BT06|


7. (2b) Result from step 2b - item not checked out:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged N --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21434320230912   
214343AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 121NNY20230912    214343AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item not checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged N --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    23565620230912   
235656AOCPL|AA23529000035676|AB39999000007756|ACterm1|BON|BIN|
READ: 120NUN20230912    235656AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH|BLY|BV1.00|BHUSD|BT06|


8. 2(c) Result from step 2c - item checked out:

without a rental charge for the item type - item checked out, no charges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    21451820230912   
214518AOCPL|AA23529000035676|AB39999000007756|ACterm1|BOY|BIN|
READ: 121NNY20230912    214518AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|

with a rental charge for the item type - item checked out + $1.00 charge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m checkout
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 'checkout'
SEND: 11YN20230912    23533120230912   
235331AOCPL|AA23529000035676|AB39999000007756|ACterm1|BOY|BIN|
READ: 121NNY20230912    235332AOCPL|AA23529000035676|AB39999000007756|AJScarlet
and black /|AH20230917    235900|BV1.00|BHUSD|BT06|

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


More information about the Koha-bugs mailing list