[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
Thu Jan 3 17:27:27 CET 2019


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83534|0                           |1
        is obsolete|                            |
  Attachment #83535|0                           |1
        is obsolete|                            |
  Attachment #83536|0                           |1
        is obsolete|                            |

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 83622
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83622&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>

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


More information about the Koha-bugs mailing list