From 54fadf8a7ea35a4904cfa508024f512745c5506d Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Mon, 31 Jul 2017 11:44:24 -0400 Subject: [PATCH] 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 --- lib/NCIP/ILS/Evergreen.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.43.2