[Koha-bugs] [Bug 26067] Member email validation based on MX record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 22 17:41:40 CEST 2020


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

Amit Gupta <amitddng135 at gmail.com> changed:

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

--- Comment #17 from Amit Gupta <amitddng135 at gmail.com> ---
Created attachment 108932
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108932&action=edit
Bug 26067: Member email validation based on MX record.

To Test
1. Enable system preference PatronSelfRegistration
2. Set PatronSelfRegistrationDefaultCategory for ex: ST
3. Set PatronSelfRegistrationLibraryList for ex: MPL
4. Open the page /cgi-bin/koha/opac-memberentry.pl
5. Fill the form and enter email address in Primary email, Secondary email and
B_email for ex:
   amit at gmail.c, amit1 at gmail.c, amitgupta at gmail.c you will able to submit the
page and it will not give any error message.
6. Apply the patch
7. Check system preference PatronEmailValidationMXrecord by default it show
"Require".
8. Open the /cgi-bin/koha/opac-memberentry.pl again
9. Fill the form and enter email address in Primary email, Secondary email and
B_email for ex:
   amit at gmail.c, amit1 at gmail.c, amitgupta at gmail.c and click on Submit button
and it will give error message
   "Invalid primary email address", "Invalid secondary email address", "Invalid
email address".
10. This patch will check email, emailpro and B_email address field.

--------------------------
Fix QA comments
This patch will check email, emailpro and B_email address field.

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


More information about the Koha-bugs mailing list