[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
Thu Apr 28 12:02:53 CEST 2022


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

--- Comment #121 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 134210
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134210&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.

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


More information about the Koha-bugs mailing list