[open-ils-commits] r17913 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 23 01:31:07 EDT 2010
Author: erickson
Date: 2010-09-23 01:31:03 -0400 (Thu, 23 Sep 2010)
New Revision: 17913
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
event firing util code needs to run in a xact
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-09-23 04:33:39 UTC (rev 17912)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-09-23 05:31:03 UTC (rev 17913)
@@ -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