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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 24 13:24:28 CET 2020


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

--- Comment #29 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to David Cook from comment #27)
> (In reply to Nick Clemens from comment #26)
> > (In reply to Jonathan Druart from comment #22)
> > > Could you provide a test?
> > 
> > I have tried, but it seems it requires a lot of mocking and I have not been
> > successful, help would be appreciated :-)
> 
> Couldn't you add a unit test for AddRenewal that just puts in junk data to
> trigger the exception?

Indeed I can! Turns out we pass 'lastreneweddate' right through, so adding junk
data in the call lets us trigger the exception

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


More information about the Koha-bugs mailing list