Koha-clms/members
Jonathan Druart a67c666da4 Bug 17375: Search by dateofbirth - handle invalid dates
Prevent internal software error when searching patron with invalid birth date

To reproduce:

- Go to Home > Patron
- Expand patron search (click on + at the left of the search button)
- In drop down 'Search fields', select 'Date of birth'
- Enter a valid date (e.g. 11.02.1995 if syspref 'dateformat' is set to dmydot)
Result: Search works OK
- Enter an invalid date, e.g. 11.02 or abcd...
Result: Internal server error

- Do a patron search with many results
- Use filter on results screen, select 'Date of birth' as search field and
  enter an invalid date to search (e.g. 'a')
Result: Endless message 'Processing'

To test:
- Apply patch
- Repeat steps above
- In both cases, you should get "No results"

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Lucio Moraes <lmoraes@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 9b34b07d62)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0d9e1667bf)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-11-08 10:17:35 +01:00
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-29 16:02:00 +01:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 17403: Internal Server Error while deleting patron 2016-10-24 11:47:10 +02:00
discharge.pl Bug 15823: Can still access patron discharge slip without having the syspref on 2016-05-16 09:22:05 +02:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-flags.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-25 13:04:46 +01:00
member.pl Bug 17375: Search by dateofbirth - handle invalid dates 2016-11-08 10:17:35 +01:00
memberentry.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
moremember.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
nl-search.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
notices.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
patronimage.pl Bug 17423 - patronimage.pl permission is too restrictive 2016-10-24 12:33:12 +02:00
pay.pl Bug 11217: The # in accountlines descriptions makes them un-writeoffable 2016-10-24 12:26:49 +02:00
paycollect.pl Bug 17052: Display patron category description in the sidebar of paycollect 2016-08-24 11:28:00 +02:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 17154 : Note column is missing on account lines receipt 2016-10-24 12:53:45 +02:00
printinvoice.pl Bug 17154 : Note column is missing on account lines receipt 2016-10-24 12:53:45 +02:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
readingrec.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
routing-lists.pl Bug 16429 - Fix root problem 2016-05-16 13:46:21 +02:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
summary-print.pl Bug 17128: Make summary-print.pl plack safe 2016-09-16 08:56:44 +02:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00