[Koha-bugs] [Bug 25183] cleanup-database.pl --del-exp-selfreg fully deletes borrowers - should go into deleted-borrowers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 23 21:18:46 CEST 2020


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

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 103603
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103603&action=edit
Bug 25183: cleanup-database.pl --del-exp-selfreg fully deletes borrowers -
should go into deleted-borrowers

The cleanup database job for deleting expired self registrations fully
deletes borrowers instead of transferring them to deleted borrowers.

This is a problem when libraries think they are deleting email
unverified patrons instead of ones that haven't moved out of the
category, an easy thing to be confused about.

Test Plan:
1) Apply this patch
2) Try running cleanup_database.pl with the new -del-exp-selfreg-type
   parameters 'soft' and 'hard'
3) Param value 'soft' should move patrons to deletedborrowers
4) Param value 'hard' should follow existing behavior
5) Leave our -del-exp-selfreg-type, you should get the existing behavior

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


More information about the Koha-bugs mailing list