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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 4 20:44:32 CET 2019


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

Charles Farmer <charles.farmer at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83622|0                           |1
        is obsolete|                            |

--- Comment #7 from Charles Farmer <charles.farmer at inlibro.com> ---
Created attachment 83657
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83657&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

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

Signed-off-by: Charles Farmer <charles.farmer at inLibro.com>

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


More information about the Koha-bugs mailing list