]> git.koha-community.org Git - koha.git/commit
Bug 33362: Allow return claims to be resolved even if the issue has since been delete...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 11 May 2023 14:43:39 +0000 (14:43 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 24 May 2023 14:21:31 +0000 (11:21 -0300)
commit816bbbe77f47688ee79f6664e60cc72ce5d7dd4a
tree9b258fdc30a2270c840758caf0df50646b4a129a
parent33856898fd2f1cd757aeafe3c165300928f9da61
Bug 33362: Allow return claims to be resolved even if the issue has since been delete from the database

Test Plan:
1) Check out an item
2) Claim return on it, moving it to the old_issues table
3) Delete the old_issue via koha-mysql or Use cleanup_database.pl
4) Attempt to resolve the claim
5) Note the error
6) Apply this patch set
7) Restart all the things!
8) Attempt to resolve the claim
9) No errors!

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Checkouts/ReturnClaim.pm
t/db_dependent/Koha/Checkouts/ReturnClaim.t