[Koha-bugs] [Bug 17375] Prevent internal software error when searching patron with invalid birth date
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 3 21:29:41 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17375
Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55923|0 |1
is obsolete| |
--- Comment #3 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 55986
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55986&action=edit
[SIGNED-OFF]Bug 17375: 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: Hector Castro <hector.hecaxmmx at gmail.com>
Both cases works as advertised
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list