From: Mike Rylander Date: Mon, 14 Jul 2014 18:57:38 +0000 (-0400) Subject: LP#1341703 Thinko in Batch Edit (hidden by older OpenSRFs) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c717ca7bccea45c13966be268f47c73c5bd3a889;p=Evergreen.git LP#1341703 Thinko in Batch Edit (hidden by older OpenSRFs) There's a bug on line 272 of O::A::Cat.pm where we called a non-existent method named respond_complete on the invocant object. Instead, we need to call that on the client object (spelled $conn in this method). Batch bib edit won't work on new OpenSRF's until this is fixed. Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm index fbf140a0ef..98d580f722 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm @@ -269,7 +269,7 @@ sub template_overlay_container { my $responses = []; my $some_failed = 0; - $self->respond_complete( + $conn->respond_complete( $actor->request('open-ils.actor.anon_cache.set_value', $auth, res_list => $responses)->gather(1) ) if ($actor);