[Rt-commit] r3171 - RT-Extension-ExtractSubjectTagOnTransaction
kevinr at bestpractical.com
kevinr at bestpractical.com
Wed Jun 15 16:08:05 EDT 2005
Author: kevinr
Date: Wed Jun 15 16:08:05 2005
New Revision: 3171
Modified:
RT-Extension-ExtractSubjectTagOnTransaction/ (props changed)
RT-Extension-ExtractSubjectTagOnTransaction/README
Log:
r4299 at sad-girl-in-snow: kevinr | 2005-06-15 16:07:51 -0400
* Updated to include the patch that makes the module work in RT < 3.4.2
Modified: RT-Extension-ExtractSubjectTagOnTransaction/README
==============================================================================
--- RT-Extension-ExtractSubjectTagOnTransaction/README (original)
+++ RT-Extension-ExtractSubjectTagOnTransaction/README Wed Jun 15 16:08:05 2005
@@ -45,9 +45,29 @@
RT-Control: no-autoopen
-included in its default resolve template. (Note that this will only work in
-RT 3.4.2 and later.)
-
+included in its default resolve template. Note that this will only work in
+RT 3.4.2 and later. To make the RT-Control: header work in earlier versions of
+RT, you need to apply the following patch to lib/RT/Action/AutoOpen.pm (the
+patch file is also included as etc/no-autoopen.patch in this distribution).
+Note that the second line which the patch adds wraps to include
+'=~ /\bno-autoopen\b/i )'.
+
+Modified: rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm
+==============================================================================
+--- rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm (original)
++++ rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm Thu Jun 2 00:15:13 2005
+@@ -74,6 +74,8 @@
+ if ( ( $self->TicketObj->Status eq 'open' )
+ || ( ( $self->TicketObj->Status eq 'new' )
+ && $self->TransactionObj->IsInbound )
++ || ( defined $self->TransactionObj->Message->First
++ && $self->TransactionObj->Message->First->GetHeader('RT-Control') =~ /\bno-autoopen\b/i )
+ ) {
+
+ return undef;
+
+
+
CONFIGURATION ---
ExtractSubjectTag supports two configuration directives.
More information about the Rt-commit
mailing list