From 805186575838af880e441c147a8002048d0b0465 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 23 Sep 2010 05:31:03 +0000 Subject: [PATCH] event firing util code needs to run in a xact git-svn-id: svn://svn.open-ils.org/ILS/trunk@17913 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index e648a8f18..48e8ca5b8 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1598,7 +1598,7 @@ sub find_event_def_by_hook { 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"; -- 2.11.0