From: Jason Boyer Date: Mon, 31 Jul 2017 15:44:24 +0000 (-0400) Subject: LP1707668: Allow RenewItem Message to Respond X-Git-Url: https://git.evergreen-ils.org/?p=working%2FNCIPServer.git;a=commitdiff_plain;h=54fadf8a7ea35a4904cfa508024f512745c5506d 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 Signed-off-by: Jason Stephenson --- 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.