Koha-clms/Koha/Exceptions
Nick Clemens eb955e8940 Bug 26457: Throw exception if update of issues table fails
While this won't prevent the deadlock, it should catch the case where
a deadlock causes the DB update to fail and provide feedback to the user
and rollback the transaction

I don't know how to trigger the deadlock, I can only confirm that we see it, and
that this should catch it.

To test:
1 - Apply patches
2 - Checkout several items to a patron
3 - Confirm that 'Renew all' feature continues to work as expected and all items are renewed

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4062116352)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-03-02 08:11:47 +01:00
..
Acquisition Bug 26582: Add Koha::Acquisition::Basket->close 2020-11-05 15:24:20 +01:00
Checkouts Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Patron Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Account.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Authentication.pm Bug 18137: Add useful Koha::Exceptions 2017-09-21 11:27:04 -03:00
Authorization.pm Bug 18137: Add useful Koha::Exceptions 2017-09-21 11:27:04 -03:00
Checkout.pm Bug 26457: Throw exception if update of issues table fails 2021-03-02 08:11:47 +01:00
ClubHold.pm Bug 25032: Make existing controllers use unhandled_exception 2020-04-29 16:24:18 +01:00
Config.pm Bug 19542: Add a check for ES configuration health 2017-12-11 14:30:42 -03:00
Elasticsearch.pm Bug 19893: Add code review fixes 2018-11-16 11:04:59 +00:00
Exception.pm Bug 21022: (follow-up) Move overloaded full_message method to subclass 2018-07-13 13:25:15 +00:00
Hold.pm Bug 27209: Add Koha::Hold->set_pickup_location 2020-12-28 14:41:01 +01:00
Ill.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Library.pm Bug 18072: Add Koha::Item->can_be_transferred 2018-07-18 17:29:04 +00:00
Metadata.pm Bug 26171: (QA follow-up) Add table name and object type to message 2021-01-07 14:46:51 +01:00
Object.pm Bug 25423: Add Koha::Exceptions::Object::NotInstantiated 2020-05-08 15:42:37 +02:00
Password.pm Bug 23816: (follow-up) Fix many things 2020-09-09 15:39:52 +02:00
Patron.pm Bug 14708: (QA follow-up) Throw exception when deleting anonymous borrower 2020-11-06 09:40:25 +01:00
Plugin.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Token.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00