[Koha-bugs] [Bug 27634] Turn off patron self-registration if no default category is set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 24 22:15:58 CET 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #20 from David Nind <david at davidnind.com> ---
I had an issue with:
- Steps 6 and 7: if there is an invalid patron category, there should be no
"Register here" link
- Step 10: dateexpiry and categorycode fields

Steps 6 and 7 - if there is an invalid patron category, there should be no
"Register here" link
==============

1. PatronSelfRegistrationDefaultCategory is now a dropdown list, so I couldn't
set an invalid patron category that way.

2. Instead, I updated in the database: update systempreferences set
value="InvalidValue" where variable="PatronSelfRegistrationDefaultCategory";

3. With an invalid patron category, the "Don't have an account? Register here."
text still shows when you click on "Log in to your account", although it
redirects you to the home page if you click on it.

4. There is a system warning: "System preference 'PatronSelfRegistration' is
set but 'PatronSelfRegistrationDefaultCategory' does not contain a valid patron
category code. Patron self-registration is disabled."


Step 10 - dateexpiry and categorycode fields
==============

When I first go into PatronSelfRegistrationBorrowerUnwantedField, the
dateexpiry and categorycode fields are selectable.

If I select them and save, and then go in again, they are greyed out with a
tick and can't be toggled off or on again.


Other testing notes (using KTD)
===============================

1. After applying the patch, run updatedatabase.

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


More information about the Koha-bugs mailing list