[Koha-bugs] [Bug 17135] New: Fine for the previous overdue may get overwritten by the next one

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 16 17:09:54 CEST 2016


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

            Bug ID: 17135
           Summary: Fine for the previous overdue may get overwritten by
                    the next one
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: abl at biblos.pk.edu.pl
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When patron renews an item which has overdue fines accruing, fine amount
updating stops, but fine record remains associated with a given issue (by
issue_id in accountlines). If this item becomes due again, fines.pl doesn't
create new fine record for 2nd+ overdue of the same issue - it just overwrites
'amount' and 'amountoutstanding' in the existing record instead, and the
previous fine for this issue gets effectively lost.

This used to work correctly in 3.18-3.22 (more or less - historically
implementation was pretty convoluted, it used due date in the fine description
for matching issue record with the fine record), but it's broken since 16.05;
probably a regression from Bug 15675 (?).

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