[Koha-bugs] [Bug 17502] Add type check to output_pref and use exceptions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 23 10:17:57 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17502
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #61510|0 |1
is obsolete| |
--- Comment #21 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 61519
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61519&action=edit
[SIGNED-OFF] Bug 17502: Throw some exceptions in output_pref
This patch adds Koha/Exceptions/DateUtils.pm.
It contains now 4 exceptions for output_pref:
[1] default general exception,
[2] conflicting parameters (dt and str),
[3] invalid date string,
[4] no date time object.
Test plan:
Run the adjusted t/DateUtils.t
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list