[Koha-bugs] [Bug 14390] Fine not updated from 'FU' to 'F' on renewal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 19 10:35:37 CEST 2016


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

--- Comment #43 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
I tested by creating an overdue, backdating it, ran fines, renewed it.
The fine is set to type F. That is ok.

But we are not ready yet. What will happen if it gets overdue again?
I backdated the due date and the last renewal date.
Ran fines again. And here comes the problem:
The accountline that has type F but still has the issue id(!), got updated with
the new amount and was set back to FU. (So: old fine got lost!) UpdateFine does
not respect the F type here; the issue id is leading.
Note that in this case the test ..amount<>..amount in UpdateFine may be
misleading too.

How to solve this? Can we remove the issue id in accountlines after switching
to F? Or should UpdateFine no longer update a F record although it has the
right issue id, but add a new record?

Please add a follow-up. This should be tested again. So reset to Needs Signoff.

Failed QA

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


More information about the Koha-bugs mailing list