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

Matt Blenkinsop <[email protected]> changed:

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

--- Comment #5 from Matt Blenkinsop <[email protected]> ---
Created attachment 180443
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180443&action=edit
Bug 22458: Don't check for duplicate email on borrower self modification

This patch adds an extra variable to internal function CheckValidBorrower to
set the
context as 'create' or 'update'

To test:
1 - Enable PatronSelfRegistrationEmailMustBeUnique
2 - Edit a patron in staff interface and set email to '[email protected]'
3 - Open an incognito window and go to opac
4 - Self register a patron using email [email protected]
5 - You receive an error
6 - Use [email protected] for email
7 - No problem
8 - Sign in as the new patron
9 - Edit your information
10 - Set email to [email protected]
11 - You receive an error
12 - Apply patch, restart all
13 - Edit patron again
14 - No error!
15 - Register another patron on the opac
16 - Confirm still wanred if using [email protected] as the email

Signed-off-by: Guillen, Allax <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to