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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #165653|0                           |1
        is obsolete|                            |

--- Comment #10 from David Nind <[email protected]> ---
Comment on attachment 165653
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165653
BUG 36676: SIP2 drops connection on unknown patron id in fee paid message

Thanks Jan!

That worked for me as well. Thank you for figuring it out!

I've signed off. (I also updated the commit message slightly.)

David

Note: backport required to at least 23.11

Response before applying the patch on main
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1   -l CPL
--patron 2352900100046 -m fee_paid --fee-type FT --fee-amount 0.01
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 'fee_paid'
SEND: 3720240506    071820FT00USDBV0.01|AO|AA2352900100046|ACterm1|
Use of uninitialized value $data in concatenation (.) or string at
misc/sip_cli_emulator.pl line 355, <GEN0> chunk 1.
READ: 

Response after applying the patch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1   -l CPL
--patron 2352900100046 -m fee_paid --fee-type FT --fee-amount 0.01
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 'fee_paid'
SEND: 3720240506    072000FT00USDBV0.01|AO|AA2352900100046|ACterm1|
READ: 38N20240506    072000AO|AA2352900100046|AFInvalid patron barcode.|

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to