[Koha-bugs] [Bug 18855] New: 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
Mon Jun 26 12:45:39 CEST 2017


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

            Bug ID: 18855
           Summary: Fines cronjob can cause duplicate fines if run during
                    active circulation
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

On systems with a decent amount of fines it seems the fines cron can cause
issues for patrons.

The problem seems to be:
1 - Fines job runs and selects overdues
2 - Patron with an overdue returns books, fine is updated, item is checked in
3 - Fines job iterates to the item that was checked in during step 2, sees
there is no accruing fine, generates a new accruing fine

I am not sure what the best solution here is, possibly we should confirm the
issue before generating the fine in the cronjob?

-- 
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