[Rt-commit] rt branch, 4.0.4-releng, created. rt-4.0.3-1-gc249954
    Kevin Falcone 
    falcone at bestpractical.com
       
    Thu Nov 10 14:39:45 EST 2011
    
    
  
The branch, 4.0.4-releng has been created
        at  c249954702e7e8a993507c2d0796201d01123625 (commit)
- Log -----------------------------------------------------------------
commit c249954702e7e8a993507c2d0796201d01123625
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Nov 10 14:35:52 2011 -0500
    Fix incorrect logic from 358b9c4 which caused the upgrade to skip.
    
    Since Type was previously NULL we were returning nothing from the query
    once we limited it to != Perl
diff --git a/etc/upgrade/3.9.1/content b/etc/upgrade/3.9.1/content
index 2a90363..866d74a 100644
--- a/etc/upgrade/3.9.1/content
+++ b/etc/upgrade/3.9.1/content
@@ -24,8 +24,8 @@
         $templates = RT::Templates->new(RT->SystemUser);
         $templates->Limit(
             FIELD => 'Type',
-            OPERATOR => '!=',
-            VALUE => 'Perl',
+            OPERATOR => 'IS',
+            VALUE => 'NULL',
         );
         while (my $template = $templates->Next) {
             my ($status, $msg) = $template->SetType('Perl');
-----------------------------------------------------------------------
    
    
More information about the Rt-commit
mailing list