[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
Tue Jul 5 14:37:57 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30275
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #135140|0 |1
is obsolete| |
--- Comment #212 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 137163
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137163&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