[Rt-devel] RT 3.6.5 Bug - Ticket attribute values in spreadsheet download are not localized

Jesse Vincent jesse at bestpractical.com
Fri Dec 7 15:32:36 EST 2007




On Wed, Dec 05, 2007 at 05:05:49PM -0500, Stephen Turner wrote:
> RT 3.6.5.
> 
> Ticket attribute values in spreadsheet download are not localized. 
> This came up as an issue for us as we have use localization to rename 
> the 'stalled' status to 'waiting'.

I can see doing this for status, but running loc on other values...may
have unintended consequences. Are there other things we should be
locing?


> 
> Patch to Search/Results.tsv below.
> 
> Thanks,
> Steve
> 
>  diff -u share/html/Search/Results.tsv local/html/Search/Results.tsv
> --- share/html/Search/Results.tsv       2007-04-24 13:21:42.000000000 -0400
> +++ local/html/Search/Results.tsv       2007-12-05 17:03:03.000000000 -0500
> @@ -81,7 +81,7 @@
>              $row->{$attr} = "";
>          } else {
>              my $method = '$Ticket->'.$attr.'()';
> -            $row->{$attr} = eval $method;
> +            $row->{$attr} = loc(eval $method);
>              if ($@) {die "Failed to find $attr - ". $@};
>          }
>      }
> 
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> 
> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
> 
> If you sign up for a new RT support contract before December 31, we'll take
> up to 20 percent off the price. This sale won't last long, so get in touch 
> today. Email us at sales at bestpractical.com or call us at +1 617 812 0745.
> 

-- 


More information about the Rt-devel mailing list