[Koha-bugs] [Bug 22037] New: regression: guarantor no longer blocked (debarred) if child is over limit, when checking out via SIP.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 20 23:02:18 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22037
Bug ID: 22037
Summary: regression: guarantor no longer blocked (debarred) if
child is over limit, when checking out via SIP.
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: SIP2
Assignee: koha-bugs at lists.koha-community.org
Reporter: barton at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: colin.campbell at ptfs-europe.com
Target Milestone: ---
Currently on 18.05.06.
I have two sample patrons set up. XXXXXXXX (an adult patron) and
YYYYYYYYYY (a child patron). XXXXXXXX is the guarantor for YYYYYYYYYY
and I have put a 12.00 fee on YYYYYYYYYY's account. Because of our
system settings, a fee of 10.01 or over on a child's account should
block checkouts by the adult guarantor and, in this case it does. If I
go to XXXXXXXX's account in Koha I get the "Fees & Charges: Patron's
guarantees collectively owe 12.00. Checkouts are BLOCKED because fine
balance is OVER THE LIMIT." message that I expect to see and the patron
is blocked from checkout in the staff client.
In a SIP2 transaction, however, XXXXXXXX is not blocked.
Prior to our upgrade this scenario would cause XXXXXXXX's account to send
a SIP2 PI response of 'N.' Since the upgrade, the guarantor account with
an over-limit guarantee is not triggering an 'N' response in the PI field
- it's coming through as PIY as seen in the sample SIP response below:
--> 6300120181220 150631
AOLEAVENWRTH|AAXXXXXXXX|AD1234|BP1|BQ5|AY2AZEE0C
<-- 64 00120181220
150632000000000000000000000000AOLEAVENWRTH|AAXXXXXXXX|AESIP
Test|BLY|CQY|CC10|PB19000101|PCADULT|PIY|AFGreetings from Koha.
|AFLEAVENWRTH|AY2AZD277
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list