[open-ils-commits] r17926 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 23 11:47:57 EDT 2010


Author: miker
Date: 2010-09-23 11:47:54 -0400 (Thu, 23 Sep 2010)
New Revision: 17926

Modified:
   branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
Backport r17913 from trunk: event firing util code needs to run in a xact

Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2010-09-23 15:47:13 UTC (rev 17925)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2010-09-23 15:47:54 UTC (rev 17926)
@@ -1598,7 +1598,7 @@
 sub fire_object_event {
     my($self, $event_def, $hook, $object, $context_org, $granularity, $user_data) = @_;
 
-    my $e = OpenILS::Utils::CStoreEditor->new;
+    my $e = OpenILS::Utils::CStoreEditor->new(xact => 1);
     my $def;
 
     my $auto_method = "open-ils.trigger.event.autocreate.by_definition";



More information about the open-ils-commits mailing list