[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
Wed May 11 13:45:23 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 #134470|0                           |1
        is obsolete|                            |

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