Bug 19871 - Use new exceptions Koha::Exceptions::Object::DuplicateID and FKConstraint
Summary: Use new exceptions Koha::Exceptions::Object::DuplicateID and FKConstraint
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact: Testopia
URL:
Keywords:
Depends on: 19828
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-22 07:50 UTC by Josef Moravec
Modified: 2017-12-27 21:55 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Moravec 2017-12-22 07:50:46 UTC
There are some reference of DBIx::Class:Exception in our code, they should be updated to use new Koha::Exceptions from bug 19828.
Comment 1 Josef Moravec 2017-12-22 07:51:31 UTC
Affected files:

Koha/Patron/Modification.pm
Koha/REST/V1/Acquisitions/Vendors.pm
Koha/REST/V1/Cities.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt