[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
Tue Jan 8 19:19:32 CET 2019


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83657|0                           |1
        is obsolete|                            |
  Attachment #83658|0                           |1
        is obsolete|                            |
  Attachment #83659|0                           |1
        is obsolete|                            |

--- Comment #10 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 83723
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83723&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>

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