We hold one book for a user, after it was check in, we tried to issue that particular Software error: DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '1' for key 'PRIMARY' at /usr/share/koha/lib/Koha/Object.pm line 121 For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error. sir how to solve this problem
Hey Vinod, Could the ID for that hold (reserve) be already present in old_reserves? If so, that error will occur when the item is actually checked out, I'm afraid, because the ID from reserves gets moved to old_reserves. The bug is documented here: https://wiki.koha-community.org/wiki/DBMS_auto_increment_fix And this was the way I personally handled it: http://koha.1045719.n5.nabble.com/Salvaging-data-before-using-DBMS-auto-incr... GL, Pedro Amorim On 18 January 2018 at 07:08, vinod kv <vinodsnmc@gmail.com> wrote:
We hold one book for a user, after it was check in, we tried to issue that particular
Software error:
DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '1' for key 'PRIMARY' at /usr/share/koha/lib/Koha/Object.pm line 121
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.
sir how to solve this problem _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Pedro Amorim -
vinod kv