[rt-users] Template parsing error

Joshua Lenmarc mootaccount at gmail.com
Thu Apr 24 07:08:42 EDT 2008


This might help people having template parsing errors. I got this
error in /var/log/syslog:

RT: Template parsing error: RT::Ticket::Content Unimplemented in T.
(template line 16)   Stack:
[/usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Record.pm:495]
[template:16]   [/opt/rt3/lib/RT/Template_Overlay.pm:397]
[/opt/rt3/lib/RT/Template_Overlay.pm:314]
[/opt/rt3/lib/RT/Action/SendEmail.pm:122]
[/opt/rt3/lib/RT/Action/Notify.pm:67]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:234]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:478]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:239]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:173]
[/opt/rt3/lib/RT/Record.pm:1466]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:746]
[/opt/rt3/share/html/index.html:88]
[/opt/rt3/share/html/autohandler:291]
(/opt/rt3/lib/RT/Template_Overlay.pm:393)

And the following error in apache2 error.log:

[error]: Template parsing error: RT::Ticket::Content Unimplemented in
T. (template line 16)

Stack:
  [/usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Record.pm:495]
  [template:16]
  [/opt/rt3/lib/RT/Template_Overlay.pm:397]
  [/opt/rt3/lib/RT/Template_Overlay.pm:314]
  [/opt/rt3/lib/RT/Action/SendEmail.pm:122]
  [/opt/rt3/lib/RT/Action/Notify.pm:67]
  [/opt/rt3/lib/RT/ScripAction_Overlay.pm:234]
  [/opt/rt3/lib/RT/Scrip_Overlay.pm:478]
  [/opt/rt3/lib/RT/Scrips_Overlay.pm:239]
  [/opt/rt3/lib/RT/Transaction_Overlay.pm:173]
  [/opt/rt3/lib/RT/Record.pm:1466]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:3099]
  [/opt/rt3/lib/RT/Interface/Web.pm:1183]
  [/opt/rt3/share/html/Ticket/ModifyPeople.html:74]
  [/opt/rt3/share/html/autohandler:291]
(/opt/rt3/lib/RT/Template_Overlay.pm:393)

The cause of the error was a wrong declaration of Content tag:

$Ticket->Content

and should have been:

{$Transaction->Content()}

HTH.



More information about the rt-users mailing list