[Koha-bugs] [Bug 17135] 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
Wed Aug 31 16:39:29 CEST 2016


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

--- Comment #27 from Jacek Ablewicz <ablewicz at gmail.com> ---
Created attachment 55074
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55074&action=edit
Bug 17135 - Some minor changes & fixes in the script

- all non-fatal output redirected to STDOUT (as there is an intention
    to run this script from updatedatabase.pl)
    - added borrowernumber and itemnumber equality checks to the SELECT
    statement in getFinesForChecking() - accountlines.issue_id alone is not
    entirely trustworthy (because InnoDB forgets it's highest auto_increment
    after server restart), in some rare cases it may point to some random
    issue for different patron and different item

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


More information about the Koha-bugs mailing list