[Koha-bugs] [Bug 18855] Fines cronjob can cause duplicate fines if run during active circulation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 3 01:26:48 CET 2021


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

Michael Hafen <michael.hafen at washk12.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #127851|0                           |1
        is obsolete|                            |
 Attachment #127852|0                           |1
        is obsolete|                            |

--- Comment #12 from Michael Hafen <michael.hafen at washk12.org> ---
Created attachment 128187
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128187&action=edit
Proposed fix in cronjobs/fines.pl

This changes cronjobs/fines.pl instead of C4/Overdues.pm

Test plan:
1. find an overdue fine near the end of the list of overdue fines that
   cronjobs/fines.pl will be considering.
2. start cronjobs/fines.pl.
3. immediately check in or renew the overdue book.
4. once fines.pl is finished observe that a duplicate overdue fine has been
   created on the patrons account.

5. apply patch.
6. repeat 1 - 4 and observe that the duplicate fine was not created.

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


More information about the Koha-bugs mailing list