https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27634 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150083|0 |1 is obsolete| | Attachment #150084|0 |1 is obsolete| | Attachment #150085|0 |1 is obsolete| | Attachment #150086|0 |1 is obsolete| | Attachment #151046|0 |1 is obsolete| | Attachment #151047|0 |1 is obsolete| | Attachment #151048|0 |1 is obsolete| | Attachment #151049|0 |1 is obsolete| | --- Comment #58 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 155863 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155863&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 Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.