[Koha-bugs] [Bug 30275] Checkout renewals should be stored in their own table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 2 21:30:39 CEST 2022


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

--- Comment #144 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 134470
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134470&action=edit
Bug 30275: (follow-up) Drop renewer_id constraint

This patch fixes some unit tests by ensureing we set a valid userid for
mock userenv setting so that the foreign key constraint doesn't fail and
it also removes the exception class and check for renewer_id from the
store method as, for example with autorenewals, the renewal may not have
been triggered by a actual user.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list