Software error when checking out
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? Kind regards, Morgan Earnshaw Information Services NZEI Te Riu Roa Join the campaign for better education funding. betterfunding.org.nz | Like us on Facebook ( http://facebook.com/betterfunding) | Tweet with #betterfunding ( http://twitter.com/hashtag/betterfunding)
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
participants (2)
-
Chris Cormack -
Morgan Earnshaw