[Koha-bugs] [Bug 17502] Add type check to output_pref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 23 09:40:56 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17502

--- Comment #19 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 61510
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61510&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list