[Rt-commit] rt branch, 4.2/default-scrip-stage-in-initialdata, created. rt-4.2.2-11-g469003f

Jim Brandt jbrandt at bestpractical.com
Tue Feb 4 10:40:03 EST 2014


The branch, 4.2/default-scrip-stage-in-initialdata has been created
        at  469003fdec38b63a5451ecd71476300e9abf6fa8 (commit)

- Log -----------------------------------------------------------------
commit 469003fdec38b63a5451ecd71476300e9abf6fa8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Feb 3 15:40:09 2014 -0500

    Default scrip Stage to TransactionCreate in initialdata

diff --git a/lib/RT/Handle.pm b/lib/RT/Handle.pm
index a8652e4..2447e59 100644
--- a/lib/RT/Handle.pm
+++ b/lib/RT/Handle.pm
@@ -1159,6 +1159,7 @@ sub InsertData {
                 $RT::Logger->debug( $return ."." );
             }
             foreach my $q ( @queues ) {
+                $item->{'Stage'} //= 'TransactionCreate';
                 my ($return, $msg) = $new_entry->AddToObject(
                     ObjectId => $q,
                     Stage    => $item->{'Stage'},

-----------------------------------------------------------------------


More information about the rt-commit mailing list