LP1707668: Allow RenewItem Message to Respond
authorJason Boyer <jboyer@library.in.gov>
Mon, 31 Jul 2017 15:44:24 +0000 (11:44 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 15 Nov 2017 15:38:50 +0000 (10:38 -0500)
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 <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm

index 7d3b676..3fc3ff1 100644 (file)
@@ -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.