[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
Thu Sep 29 14:52:42 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17375
--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 55923
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55923&action=edit
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"
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list