https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37936
Bug ID: 37936
Summary: Misleading message about AnonymousPatron in batch
anonymization tool
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If using the default data (AnonymousPatron = 0), the batch anonymization tool
states "The AnonymousPatron system preference is not defined. You can use this
feature anyway but NULL will be used to update the checkout history."
However, if you try to anonymize checkout histories, you get an error message
saying (among other things) "Exception 'Koha::Exceptions::SysPref::NotSet'
thrown 'Required syspref is not set' with syspref => AnonymousPatron"
To recreate:
1. Make sure the AnonymousPatron system preference is set to 0 (the default
value)
2. Check out an item to a patron and check it back in
3. Go to Tools > Batch patron deletion and anonymization
--> In the Batch anonymization section, note that it says that the
preference
is not set, but we can still use the tool.
4. Check the box Verify you want to anonymize patron checkout history
5. Set the date to tomorrow
6. Click Next
7. Click Finish
--> Trace error
Either we need to change the message and/or disable the tool if the
AnonymousPatron system preference is 0 or empty, or we need to do as the
message says and use NULL instead.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/