Created
September 23, 2016 16:24
-
-
Save berick/f4e1ac051ac8860faaf72816d867b460 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm | |
index 7b96edb..0116a41 100644 | |
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm | |
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm | |
@@ -454,6 +454,7 @@ sub run_TT { | |
$t_o->is_error( ($error) ? 't' : 'f' ); | |
$logger->info("trigger: writing " . length($t_o->data) . " bytes to template output"); | |
+ $env->{EventProcessor}->editor->rollback; | |
$env->{EventProcessor}->editor->xact_begin; | |
$t_o = $env->{EventProcessor}->editor->create_action_trigger_event_output( $t_o ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment