[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
Fri Feb 5 11:47:27 CET 2021


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 116378
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116378&action=edit
Bug 27634: Turn off patron self-registration if no default category is set

If there is no default category defined in
PatronSelfRegistrationDefaultCategory the full feature must be displayed.

We already hide the link from the OPAC main page, but the form is still
accessible.

Test plan (for the whole patch set):
1. Turn on PatronSelfRegistration
2. Don't set PatronSelfRegistrationDefaultCategory
3. Go to the OPAC main page and confirm that the "Register here" link is
not displayed
4. Hit opac-memberentry.pl and confirm that you are redirected to the
OPAC main page
5. Go to the about page and confirm that you see a warning in the
"System information" tab
6. Set PatronSelfRegistrationDefaultCategory to an invalid patron's
category
7. Repeat 3, 4, 5
8. Set PatronSelfRegistrationDefaultCategory to a valid patron's
category
9. Self-register a patron and confirm it works as expected
10. Edit PatronSelfRegistrationBorrowerUnwantedField and confirm that
you cannot remove dateexpiry and categorycode

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


More information about the Koha-bugs mailing list