]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 8 Jun 2023 17:15:33 +0000 (17:15 +0000)
commit5052f9cec069ba6429d0a5c0c4525b1b0ee791e4
tree1c19d60e3e6a8052cc0f015e9d94613d6a7ef7e9
parent11bce8210a964935ed0d5ec2e480e958d3d75551
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>
(cherry picked from commit 816bbbe77f47688ee79f6664e60cc72ce5d7dd4a)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Checkouts/ReturnClaim.pm
t/db_dependent/Koha/Checkouts/ReturnClaim.t