[Koha-bugs] [Bug 18185] Clears loan history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 10 22:46:26 CET 2017


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

--- Comment #16 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to J Schmidt from comment #15)
> Can I ask what is the starting Koha version that's impacted by this bug?
> 16.05 or earlier? 16.11? thank you.

This bug impacts all Koha versions, but only in very specific cases.
Basically it happens if you restart the DBMS and that the last item that has
been checked out is checked in. In that case the auto increment value of the
issue table become lower than the max value of old_issues.issue_id
After the restart, the next issue will get an issue_id that already exists in
the old_issues table. When this issue will be checked in and moved to the
old_issue table, the copy of the data to the old_issues table will fail and the
row will be deleted from the issues table => data are lost!

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


More information about the Koha-bugs mailing list