Skip to content
Browse files

Merge branch '2.9/error-message-on-251-upgrade' into 2.6-trunk

  • Loading branch information...
2 parents aa31196 + 25dbac6 commit a6405284277e87ea2c772bb857d3cd53b03b0b85 @ruz ruz committed Nov 15, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 etc/upgrade/2.5.1/content
View
8 etc/upgrade/2.5.1/content
@@ -18,7 +18,13 @@ my %special_rename = (
$new = $special_rename{ lc $new } || $new;
my ($status, $msg) = $cf->SetName( $new );
- $RT::Logger->error("Couldn't rename custom field '$name': $msg");
+
+ if ( $status ){
+ $RT::Logger->warning("RTIR custom field $name renamed: $msg");
+ }
+ else{
+ $RT::Logger->error("Couldn't rename custom field '$name': $msg");
+ }
}
},
);

0 comments on commit a640528

Please sign in to comment.
Something went wrong with that request. Please try again.