From: erickson Date: Thu, 23 Sep 2010 05:31:03 +0000 (+0000) Subject: event firing util code needs to run in a xact X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=805186575838af880e441c147a8002048d0b0465;p=evergreen%2Fbjwebb.git 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 --- 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";