28 Sep
2017
28 Sep
'17
3:56 a.m.
On 28/09/17 22:17, Morgan Earnshaw wrote:
Hello,
There is one record that I'm having issues trying to check out. I have been able to check out other items to this patron and to others.
I get the software error: DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '304' for key 'PRIMARY' at /usr/share/koha/lib/Koha/Object.pm line 120
Anyone have any ideas on what's going on?
Hi Morgan There's a bug in a few versions of Koha (fixed in the latest releases) that meant that it was possible to get a record with the same id number into 2 tables. You will need to upgrade to the latest release, make a couple of changes to the database config and remove the duplicate. Chris