Bug 27567 - Cleanup database with --del-exp-selfreg deletes patrons who are guarantors
Summary: Cleanup database with --del-exp-selfreg deletes patrons who are guarantors
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-28 16:42 UTC by Andrew Fuerste-Henry
Modified: 2021-02-10 17:26 UTC (History)
3 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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