From: miker Date: Thu, 23 Sep 2010 15:47:54 +0000 (+0000) Subject: Backport r17913 from trunk: event firing util code needs to run in a xact X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a18906eca17beafc7df4dc6f57404c722905bf4c;p=contrib%2FConifer.git Backport r17913 from trunk: event firing util code needs to run in a xact git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17926 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index e648a8f188..48e8ca5b80 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";