1 package RT::Action::ExtractCustomFieldValuesWithCodeInTemplate;
5 use base qw(RT::Action::ExtractCustomFieldValues);
11 my $content = $self->TemplateObj->Content;
13 my $template = Text::Template->new(TYPE => 'STRING', SOURCE => $content);
14 my $new_content = $template->fill_in(
17 $RT::Logger->error("Template parsing error: $args{error}")
18 unless $args{error} =~ /^Died at /; # ignore intentional die()
24 return (undef, $self->loc('Template parsing error')) if $is_broken;