[Koha-bugs] [Bug 31937] Prevent cleanup_database.pl from locking too many accounts
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 17 08:05:00 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31937
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #143980|0 |1
is obsolete| |
--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 143982
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143982&action=edit
Bug 31937: Fix Patrons::search_unsubscribed - sharpen condition
The condition is fine as long as we only have GDPR consents.
But if you dont, you would have trouble. I know :)
Lets prevent that here, although the table still has an ENUM. So
double safety.
Test plan:
Run t/db_dependent/Koha/Patrons.t
Bonus: Run cleanup_database.pl and check for unusual number of
locked accounts:
misc/cronjobs/cleanup_database.pl --confirm -v --sessions
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list