[Koha-bugs] [Bug 26950] Checkin failure messages are unclear or too specific

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 17:15:03 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26950

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 115116
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115116&action=edit
Bug 26950: Fix SIP/Message.t

t/db_dependent/SIP/Message.t .. 2/9
    #   Failed test 'DBIx error on duplicate issue_id'
    #   at t/db_dependent/SIP/Message.t line 643.
    # found warning: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
DBD::mysql::st execute failed: Duplicate entry '1' for key 'PRIMARY' [for
Statement "INSERT INTO `old_issues` ( `auto_renew`, `auto_renew_error`,
`borrowernumber`, `branchcode`, `date_due`, `issue_id`, `issuedate`,
`issuer_id`, `itemnumber`, `lastreneweddate`, `note`, `notedate`, `noteseen`,
`onsite_checkout`, `renewals`, `returndate`, `timestamp`, `unseen_renewals`)
VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with
ParamValues: 0=0, 1=undef, 2=57, 3='m_HHGh', 4=undef, 5=1, 6=undef, 7=undef,
8=973, 9=undef, 10=undef, 11=undef, 12=undef, 13=0, 14=0, 15='2021-01-14
16:12:47', 16='2021-01-13 16:12:48', 17=0] at /kohadevbox/koha/Koha/Object.pm
line 169
    # found carped warning: The checkin for the following issue failed, Please
go to the about page and check all messages on the 'System information' to see
if there are configuration / data issues (Duplicate ID)$VAR1 = {
    # expected to find warning: (?^u:Duplicate entry)
    # expected to find warning: (?^u:data corrupted)
    # Looks like you failed 1 test of 35.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list