https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16534 --- Comment #3 from Theodoros Theodoropoulos <theod@lib.auth.gr> --- @Jonathan: Unfortunately, I cannot reproduce anymore the error for Koha<3.20.06 because we have upgraded both our test/production servers to 3.20.10. All I know is that BEFORE the upgrade we had 3 cases where duplicate lines (with the same itemnumber) were found in issues table. This means an item was found to be checked out to two different borrowers (at the same time). (I have a screenshot to prove it for one of them). After discussing with the librarians, they explained that all they did was they have checked out an already-checked out item to another patron. They DIDN'T get any error and the item ended up to be checkout to BOTH patron. With 3.20.10 now, the new error that appears means that Circulation.pm TRIES to create a duplicate line in issues (but fails), so the item is NOT checked out to the new patron in the end (but it would have been if it wasn't for the new unique key in the DB). The correct behavior is the item to be checked in and then checked out to the new patron. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.