From: Jason Boyer Date: Mon, 31 Jul 2017 15:44:24 +0000 (-0400) Subject: LP1707668: Allow RenewItem Message to Respond X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fjboyer%2Flp1707668_renewitem;p=working%2FNCIPServer.git LP1707668: Allow RenewItem Message to Respond A couple of $ses->simplereq() calls had ->gather(1) on the end which causes crashes on receiving a RenewItem message. Signed-off-by: Jason Boyer --- diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 7d3b676..3fc3ff1 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -623,7 +623,7 @@ sub renewitem { 'open-ils.pcrud.retrieve.crcd', $self->{session}->{authtoken}, $rule - )->gather(1); + ); } if ($rule->max_renewals() < 1) { $response->problem( @@ -667,7 +667,7 @@ sub renewitem { 'open-ils.circ.renew.override', $self->{session}->{authtoken}, $params - )->gather(1); + ); # We only look at the first one, since more than one usually means # failure.