[Koha-bugs] [Bug 30007] Make ->anonymize methods throw an exception if AnonymousPatron is not set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 2 19:48:33 CET 2022


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

--- Comment #16 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Ohhh but this changes the actual behavior.
Without this patch running anonymise with AnonymousPatron undefined (0 or empry
string) is allowed : borrowernumber is set to null
This is usefull because AnonymousPatron default value is 0.

We agree on new behavior and create a unit test for this case.

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


More information about the Koha-bugs mailing list