[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
Tue Mar 30 17:10:56 CEST 2021


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103784|0                           |1
        is obsolete|                            |

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

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list