[open-ils-commits] r13277 - branches/rel_1_4_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 1 15:47:44 EDT 2009


Author: erickson
Date: 2009-06-01 15:47:40 -0400 (Mon, 01 Jun 2009)
New Revision: 13277

Modified:
   branches/rel_1_4_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
old-school circ scripts require refreshed script runner on renewals

Modified: branches/rel_1_4_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2009-06-01 19:47:19 UTC (rev 13276)
+++ branches/rel_1_4_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2009-06-01 19:47:40 UTC (rev 13277)
@@ -2393,6 +2393,7 @@
         my $result = $runner->run or 
             throw OpenSRF::EX::ERROR ("Circ Permit Renew Script Died: $@");
         my $events = $result->{events};
+        $self->mk_script_runner;
     }
 
     $logger->activity("ciculator: circ_permit_renew for user ".
@@ -2401,7 +2402,6 @@
     $self->push_events(OpenILS::Event->new($_)) for @$events;
 
     $logger->debug("circulator: re-creating script runner to be safe");
-    #$self->mk_script_runner;
 }
 
 



More information about the open-ils-commits mailing list