[Koha] Software error when checking out

Chris Cormack chrisc at catalyst.net.nz
Thu Sep 28 15:56:22 NZDT 2017



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


More information about the Koha mailing list