[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. de255eae610a76ce92d94b3b9785d407a8da9872

Evergreen Git git at git.evergreen-ils.org
Mon Sep 23 13:14:08 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  de255eae610a76ce92d94b3b9785d407a8da9872 (commit)
      from  ada002e0a67402431c59b0a3d0569710d8f83b70 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit de255eae610a76ce92d94b3b9785d407a8da9872
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Aug 22 16:47:27 2013 -0400

    Action/Trigger load environment via stream
    
    Load objects in the A/T environment via streaming response instead of
    atomic, to avoid very large messages.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
index b0be015..e8d2f7e 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
@@ -573,12 +573,15 @@ sub _object_by_path {
             my $def_id = $self->event->event_def->id;
             my $str_path = join('.', @$path);
 
+            my @params = (($multi) ? { $ffield => $lval } : $lval);
+            @params = ([@params], {substream => 1}) if $meth =~ /^search/;
+
             $obj = $_object_by_path_cache{$def_id}{$str_path}{$fhint}{$step}{$ffield}{$lval} ||
                 (
                     (grep /cstore/, @{
                         OpenILS::Application->publish_fieldmapper->{$fclass}{controller}
                     }) ? $ed : ($red ||= new_rstore_editor(xact=>1))
-                )->$meth( ($multi) ? { $ffield => $lval } : $lval);
+                )->$meth(@params);
 
             $_object_by_path_cache{$def_id}{$str_path}{$fhint}{$step}{$ffield}{$lval} ||= $obj;
         }

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Trigger/Event.pm       |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list