Bug 27753: (QA follow-up) Check that item exists before using it
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 1 May 2024 08:57:49 +0000 (09:57 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 6 May 2024 07:12:13 +0000 (09:12 +0200)
commit7953b1724361b62f7a3ee4424eca2ae5e6e01f00
tree937b176219e7b8c1ea6ac82362daaab2ccb5addb
parent2e42bc55842ef607c918ff7aa170cfcf35818808
Bug 27753: (QA follow-up) Check that item exists before using it

We're actioning the change of claim status outside of any block that
checks the $item exists. As such we'll want to add that check in here.

I did consider that this should live inside AddIssue, but on reflection
the librarian may want to not proceed with the issue given other return
values from the CanBookBeIssued call, but you still want the
AutoClaimReturn to fire regardless as you've now found the item.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
circ/circulation.pl