]> git.koha-community.org Git - koha.git/commit
Bug 22051: Add Koha::Exceptions::Object::WrongValue
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Dec 2018 14:33:13 +0000 (11:33 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Jan 2019 17:13:23 +0000 (17:13 +0000)
commit36de61a4aff78a0ee91fd0127ae9f57b57a4497e
tree77d419f8630a4c5001efcc59a101c54ab183fd26
parent0420bc9a53bde1fc686fc4b078cbce595bff8b95
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@myacpl.org>
Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 58cbba3c93fba35920d3257a31dea9c760b37330)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Exceptions/Object.pm
t/Koha/Exceptions.t