Bug 27567

Summary: Cleanup database with --del-exp-selfreg deletes patrons who are guarantors
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, mfuerst
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2021-01-28 16:42:25 UTC
When running cleanup_database.pl with the --del-exp-selfreg flag to delete selfref patrons, Koha will delete a patron who is a guarantor. It should prevent this, as it does when batch deleting patrons from the staff interface.
Comment 1 Martha Fuerst 2021-02-10 17:26:30 UTC
Making some squeaky noises on this! It would be nice to know that guarantors won't be deleted without staff intervention. Some other granular controls for selfreg clean-up (so we don't accidentally delete test patrons) would also be nice.

-Marti Fuerst