[Koha-bugs] [Bug 26457] DB DeadLock when renewing checkout items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 22 16:59:11 CET 2021


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to oldstable         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #43 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Issue when trying to backport to 19.11.x, failing test.

kohadev-koha at be9bfe372adf:/kohadevbox/koha$ prove t/db_dependent/Circulation.t
t/db_dependent/Circulation.t .. 40/47 DBD::mysql::st execute failed: Incorrect
datetime value: 'HASH(0x562f3aaf8048)' for column 'lastreneweddate' at row 1
[for Statement "UPDATE issues SET date_due = ?, renewals = ?, lastreneweddate =
? WHERE issue_id = ?" with ParamValues: 0='2021-04-12 23:59', 1=1,
2=HASH(0x562f3aaf8048), 3=264] at /kohadevbox/koha/C4/Circulation.pm line 2969.
    # No tests run!
t/db_dependent/Circulation.t .. 42/47 
#   Failed test 'No tests run for subtest "AddRenewal and AddIssuingCharge
tests"'
#   at t/db_dependent/Circulation.t line 3201.
Update of issue# 264 failed with error: Incorrect datetime value:
'HASH(0x562f3aaf8048)' for column 'lastreneweddate' at row 1# Looks like your
test exited with 255 just after 42.

The conflicts weren't tricky to solve and I don't see how the patch affects
lastreneweddate.
So help needed for backporting to 19.11.x

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


More information about the Koha-bugs mailing list