[Koha-bugs] [Bug 26218] When a patron is created or edited from OPAC and the date of birth is invalid it showing invalid date of birth in the text box even if text box focus is out

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 15 19:37:10 CEST 2020


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

--- Comment #3 from Amit Gupta <amitddng135 at gmail.com> ---
Created attachment 108334
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108334&action=edit
Bug 26218: When a patron is created or edited from OPAC and  the date of birth
is invalid it showing invalid date of birth in the text box  even if text box
focus is out

To Test:
1. Create the patron category from the staff page for ex: ST
2. Set PatronSelfRegistration to allow.
3. Allow category in PatronSelfRegistrationDefaultCategory for online
registration from opac.
4. Go to /cgi-bin/koha/opac-memberentry.pl page.
5. Fill the form and give any invalid date and it show invalid date of birth in
the date of birth text box even if text box focus is out.
6. Apply the patch.
7. Go to /cgi-bin/koha/opac-memberentry.pl page.
8. Fill the form and give any invalid date and it show blank value in the date
of birth text box once text box focus is out.

-------------------------------------------------

This patch will work for both new or edit patron from the OPAC.

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


More information about the Koha-bugs mailing list