[Koha-bugs] [Bug 28144] Historical OVERDUE fines may not have an issue_id
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 13 17:18:36 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28144
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 119541
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119541&action=edit
Bug 28144: Check if issue_id defined
Historical OVERDUE fines may not have an issue_id - this causes
flooding of the logs when calling update fine
Trivial change, reading the code should be enough, but test plan below
To test:
1 - Create some fines without an issue_id
- Either checkout an old version of Koha and add manually or
- Checkout some items (backdated) to a patron, run fines.pl then
UPDATE accountlines SET issue_id = NULL;
2 - Checkout a backdated item with fines in the circ rule to the same patron
3 - Run fines.pl
4 - Note the errors
5 - Apply patch
6 - Repeat and note no errors
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list