[Koha-bugs] [Bug 22037] 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
Fri Feb 22 14:40:24 CET 2019


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

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
On master, as well as 17.11.x, I get:

misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL
--patron 23529000035676 -m patron_information               1 ↵ [10:36:30]
Attempting socket connection to localhost:6001...connected!
SEND: 9300CNterm1|COterm1|CPCPL|
READ: 941

Trying 'patron_information'
SEND: 6300120190222    103634          AOCPL|AA23529000035676|ACterm1|
READ: 64              00120190222   
103635000000000000000000000000AOCPL|AA23529000035676|AEHenry
Acevedo|BLY|CC10|BD4345 Library Rd. Springfield, MA 44224|BF(212)
555-1212|PB19580530|PCS|PIY|AFGreetings from Koha. |


Last test was on 17.11.x with:

MariaDB [koha_kohadev]> select borrowernumber, cardnumber, guarantorid from
borrowers where guarantorid is not null;                                        
+----------------+----------------+-------------+
| borrowernumber | cardnumber     | guarantorid |
+----------------+----------------+-------------+
|             37 | 23529000197047 |          19 |
+----------------+----------------+-------------+
1 row in set (0.00 sec)

MariaDB [koha_kohadev]> select borrowernumber, cardnumber from borrowers where
borrowernumber=19;
+----------------+----------------+
| borrowernumber | cardnumber     |
+----------------+----------------+
|             19 | 23529000035676 |
+----------------+----------------+


MariaDB [koha_kohadev]> select amount from accountlines where
borrowernumber=37;
+-----------+
| amount    |
+-----------+
| 12.000000 |
+-----------+


MariaDB [koha_kohadev]> select variable, value from systempreferences where
variable like "noissuescharge%";
+--------------------------+-------+
| variable                 | value |
+--------------------------+-------+
| noissuescharge           | 10    |
| NoIssuesChargeGuarantees | 10    |
+--------------------------+-------+
2 rows in set (0.00 sec)


I do see "Fees & Charges: Patron's guarantees collectively owe 12.00. Checkouts
are BLOCKED because fine balance is OVER THE LIMIT." on the guarantor account.

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


More information about the Koha-bugs mailing list