Bug 22458

Summary: PatronSelfRegistrationEmailMustBeUnique disallows self modification requests if multiple accounts share an email address
Product: Koha Reporter: Jason Robb <jrobb>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: cslone, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jason Robb 2019-03-05 15:22:10 UTC
PatronSelfRegistrationEmailMustBeUnique causes unexpected behavior on the patron self modification screen ("your personal details") in the OPAC.

When enabled, the system preference blocks existing accounts from submitting account modification requests if the primary email associated with the account is also associated with another account in the database.

This means if a parent account and a child account both use the same email address, neither can submit account modification requests via the OPAC.

This system preference should only affect new self registered accounts.

To reproduce this behavior:
1. Set PatronSelfRegistrationEmailMustBeUnique to 'Consider'
2. Create two different accounts with the same primary email address
3. Log into the OPAC with either account
4. Visit "your personal details"
5. Make a change unrelated to email address and submit
6. The submission is blocked with a message about duplicate email addresses
Comment 1 Chris Slone 2021-08-23 17:31:41 UTC
Can confirm that this is an issue.