http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15310 Bug ID: 15310 Summary: Fix duplicate fines issue when changing date or time format Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: veron@veron.ch QA Contact: testopia@bugs.koha-community.org Changing the sysprefs 'dateformat' and/or 'TimeFormat' on a production server with overdue items that are accruing fines can result in duplicate fines. It happens when the system has to decide wether to update an existing fine or to add a new fine. It is related to C4/Overdues.pm line 538 that parses the fines description for a date in the current syspref date format ($due_qr). if ($rec->{itemnumber} == $itemnum && $rec->{description} =~ /$due_qr/) If the dateformat is changed, parsing will not find the date in previous fines and an extra fine will be applied. It is not possible to automatically parse for all date formats since dd/mm/yyyy and mm/dd/yyyy can be ambiguous. The system needs an information about what the previous date format was (if it changed). To bridge the issue until we have a rewrite of the accounts system ready, the previous date- / and time format can be indicated in additional sysprefs. -- You are receiving this mail because: You are watching all bug changes.