[Rt-commit] r5161 - in rtir/branches/1.9-EXPERIMENTAL: lib/RT/Condition

ruz at bestpractical.com ruz at bestpractical.com
Wed May 3 20:10:43 EDT 2006


Author: ruz
Date: Wed May  3 20:10:42 2006
New Revision: 5161

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireStateChange.pm

Log:
 r1407 at cubic-pc:  cubic | 2006-05-04 04:18:01 +0400
 * update state on merge too
 ** this fixes test failure


Modified: rtir/branches/1.9-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireStateChange.pm
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireStateChange.pm	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireStateChange.pm	Wed May  3 20:10:42 2006
@@ -69,7 +69,7 @@
 
     my $field = $self->TransactionObj->Field;
     return 1 if
-        ( $type =~ /^(Add|Delete)Link$/ and $field eq "MemberOf" ) or
+        ( $type =~ /^(Add|Delete)Link$/ and $field =~ /^(MemberOf|MergedInto)$/ ) or
         ( $type eq "Set" and $field eq "Queue" );
 
     return 1 if $type eq 'Correspond' && $self->TicketObj->QueueObj->Name eq 'Blocks';


More information about the Rt-commit mailing list