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=e56eb48861a5666080ca5cdd2e72203e9620572e;p=evergreen%2Fmasslnc.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 1057d710d8..f4b9f11a1e 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm @@ -266,7 +266,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);