[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
Thu Mar 3 12:12:08 CET 2022


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

--- Comment #21 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Fridolin Somers from comment #20)
> (In reply to Fridolin Somers from comment #16)
> > 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.
> > 
> But do we all agree with this new behavior.
> 
> How manage existing databases upgrade having AnonymousPatron not configured
> but still use batch_anonyise.pl (we have that a lot at Biblibre) ?

For the record, check-in dies if AnonymousPatron is not set, since bug 9942. I
see two options:

- Add an anonymous patron on a DBrev.
- Disable OPACPrivacy if AnonymousPatron is incorrectly set.

This is already highlighted in about.pl as far as I can tell (see bug 24327).

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


More information about the Koha-bugs mailing list