[Koha-bugs] [Bug 14924] Remove C4::Dates from members/memberentry.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 7 23:50:11 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14924

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

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

--- Comment #10 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 43217
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43217&action=edit
[SIGNED-OFF]Bug 14924 - (follow-up) Add date validation using eval

This patch adds a date validation (see comment #3).

To test:

- Apply patch
- Create a new user or edit an existing user
- Try valid dates for date of birth
- Try invalid dates as 0000-00-00 or 32/01/1970. You can can
  copy/paste such strings to the date field, ignore the warning
  message and submit. Verify that after submit you get a message
  "Date of birth is invalid"
- Try the same with enrollement /expiry dates

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised. Tested with invalid dates.

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


More information about the Koha-bugs mailing list