Bug 19871

Summary: Use new exceptions Koha::Exceptions::Object::DuplicateID and FKConstraint
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: Architecture, internals, and plumbingAssignee: Tomás Cohen Arazi <tomascohen>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 19828    
Bug Blocks:    

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