[Koha-bugs] [Bug 29480] Add email address as a method for generating the userid when self registering in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 10:58:06 CEST 2022


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #127679|0                           |1
        is obsolete|                            |

--- Comment #8 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 142133
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142133&action=edit
Bug 29480: Add new systempreference
PatronSelfRegistrationUseridGenerationMethod and add email as option.

Test plan

- Install patch and run koha-upgrade-schema <instance>
- The systempreference PatronSelfRegistrationUseridGenerationMethod should be
found in the adminstrative interface under OPAC -> Self registration and
modification
- Also make sure
- Make sure that PatronSelfRegistration is set to Allow and 
PatronSelfRegistrationDefaultCategory is set to an existing borrower category
- Make sure that PatronSelfModificationBorrowerUnwantedField doesn't prevent
the input of an email address in the self registration form.  (I.e., make sure
"email" is NOT selected for exclusion.)
- Go to opac and self register a patron and verify that the userid is on the
form firstname.surname.
- Change systempreference to 'email'
- Go to OPAC and self register a patron and make sure to add a valid email
address.
- Verify the that the userid is the email adress.
- Go to OPAC and self register a patron using the SAME valid email adress as
above (to provoke a conflicting userid).
- Verify that the userid is on the form firstname.surname.

Signed-off-by: Magnus Enger <magnus at libriotech.no>
Works as advertised. I will provide followups for the issues
that have been pointed out.

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


More information about the Koha-bugs mailing list