https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17135 --- Comment #39 from Jacek Ablewicz <abl@biblos.pk.edu.pl> --- (In reply to Marcel de Rooy from comment #37)
You select all accountlines with FU with an corresponding issue record, but what about hypothetical records FU that have an issue_id that does not have a record in issues anymore? Or does have issue_id NULL ? Should we do something about those two groups?
To be honest, I haven't given too much thought to those 2 kinds of hypothetically still unclosed FU records (because - if any - they are not vulnerable to this particular overwriting issue in any case). But IMHO they are most likely purely hypothetical anyway: - Sql script in Bug 15675 closes all FU fines sans the most recent ones still associated (by itemnumber & borrowernumber) with some existing issue records - After that, the only way (?) to effectively unlink the fine record from the issue record (effectively == from the UpdateFine() POV, with Bug 14390 included) would be the return/check in of an item. An item return / check-in will (hopefully) always result in closing the fine (FU -> F) as well? -- You are receiving this mail because: You are watching all bug changes.