[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
Thu Oct 8 10:32:43 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14924
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #42964|0 |1
is obsolete| |
Attachment #43217|0 |1
is obsolete| |
--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 43220
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43220&action=edit
Bug 14924 - Remove C4::Dates from members/memberentry.pl
This patch removes C4::Dates from members/memberentry.pl
To test:
- Apply patch
- Add and edit patrons with and without birthdate as
mandatory field (syspref BorrowerMandatoryField)
- Verify that dates (birtdate, registration, expiration)
display and are stored correctly
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised. Tested with syspref BorrowerMandatoryField and
table borrowers.dateofbirth
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.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Amended patch: I have splitted them to make them much more readable
(some lines were removed then added).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list