RT CLI Ticket Display Issue

Hello,

I think this error is related to the HTML → plain text bug in 4.2.1, but I’m
hoping to find a pointer to a patch (or git commit) so that I can fix my setup.
When trying to display some tickets via the command line interface, I get the
following:

$ rt show 19503

Can’t call method “content” on an undefined value at
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 217.

Stack:
[/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:217]
[/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:101]
[/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:83]
[/opt/rt4/sbin/…/lib/RT/Interface/Email.pm:1777]
[/opt/rt4/sbin/…/lib/RT/Transaction.pm:348]
[/opt/rt4/share/html/REST/1.0/Forms/ticket/history:135]
[/opt/rt4/share/html/REST/1.0/dhandler:285]
[/opt/rt4/share/html/REST/1.0/autohandler:54]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:680]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:368]
[/opt/rt4/share/html/autohandler:53]

The ticket in question is an HTML email that doesn’t show up in the web
interface because the message body is too large. If I click the Download button
to see the message body it loads fine in my browser.

In the messages log on the server, I see:

Jan 2 13:53:29 rt RT: [13695] Use of uninitialized value $_ in concatenation
(.) or string at /usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm
line 211.

If this has been fixed in the git tree, I’d love a pointer at where the fix is,
I can’t seem to find it in the places I would expect.

Thank you,
Jesse Griffin
tummy.com, ltd.

I think this error is related to the HTML → plain text bug in 4.2.1, but I’m
hoping to find a pointer to a patch (or git commit) so that I can fix my setup.

https://github.com/bestpractical/rt/commit/8807f0d0.patch

  • Alex