Bug 40455 - A patron information request fails when no currency is set
Summary: A patron information request fails when no currency is set
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: SIP2 (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-18 20:46 UTC by Jan Kissig
Modified: 2025-07-18 20:46 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kissig 2025-07-18 20:46:26 UTC
When no currency is defined a patron information request will fail

To recreate on ktd delete all baskets, vendors and currencies:
koha-mysql kohadev
delete from aqbasket;
delete from aqbooksellers;
delete from currency;

then make a patron information request:

kohadev-koha@kohadevbox:koha(main)$ perl misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL -m patron_information --patron 42
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 127.
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'patron_information'
SEND: 6300120250718    204515          AOCPL|AA42|ACterm1|
Use of uninitialized value $data in concatenation (.) or string at misc/sip_cli_emulator.pl line 359, <GEN0> chunk 1.
READ: