[Koha-bugs] [Bug 22051] Make Koha::Object->store translate 'Incorrect datetime value' exceptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 28 16:21:37 CET 2018


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83534
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83534&action=edit
Bug 22051: Add Koha::Exceptions::Object::WrongValue

This patch adds a new exception to be thrown in Koha::Object->store when
a DBIC exception is thrown regarding bad data format.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!
- Sign off :-D

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


More information about the Koha-bugs mailing list