Comments duplicated as attachments

In all my comments and replies on the RT web interface there is a link:
Download (untitled) which contains the comment or reply. Is this normal
behaviour? Can i turn it off? This happens regardless of whether i comment
via web or email.

Red Hat 7.3
RT 3.0.4
Perl 5.6.1 *
MySQL 3.23.49 *

Regards
Emile

  • Yes, Yes upgrade is in the pipeline :wink:

Emile Coetzee
System Administrator
ExiNet/Eduflex
Tel: +27 21 448 4678
Fax: +27 21 448 4620
Cell: 082 3312160
www.exinet.co.za

In all my comments and replies on the RT web interface there is a link:
Download (untitled) which contains the comment or reply. Is this normal
behaviour? Can i turn it off? This happens regardless of whether i comment
via web or email.

The link is not in the comment or reply but in the web interface.

The comment or reply that you see in the web interface is a reformatted
version of the original data.

For every attachment (including the main body of the mail) there is
such a link that lets you download the original data.

,eM""=.            a"-.                         Michael van Elst

dWWMWM" - :GM==; mlelstv@dev.de.cw.net
:WWMWMw=–. "W=’ cable & wireless
9WWMm==-.
“-Wmw-” CABLE & WIRELESS

The link is not in the comment or reply but in the web interface.
Correct i probably didn’t make myself clear enough. I only see the Download
(untitled)
in the web interface.

For every attachment (including the main body of the mail) there is
such a link that lets you download the original data.
So is this a duplicate of just another way of looking at the data?
In other words does this take up additional space in my DB?
And I’d still like to turn this off?

Cheers
Emile

So is this a duplicate of just another way of looking at the data?

It is just another way of looking at the data. In fact, it is the
way to look at the original data instead of the reformatted version
that you see in the user interface.

In other words does this take up additional space in my DB?

It does not take up any space in your DB. The reformatting is done
on the fly. The result is only displayed but not stored.

And I’d still like to turn this off?

You would have to modify html/Ticket/Elements/ShowTransaction (you
can override this file without modifying it, see HTML::Mason documentation
for details).

You probably want to add some smartness. Most regular attachments are
non-text and cannot be displayed in the user interface. A Download link
there is absolutely necessary.

Since even the main body of a mail could be non-text you cannot simply
remove the link for it but need to distinguish between content that is
displayed and content that is not. But then, there might be content that
is displayed but not correctly and where you want the Download link to
get to the original data.

My advise is to keep the download link.

Greetings,
,eM"“=. a”-. Michael van Elst
dWWMWM" - :GM==; mlelstv@dev.de.cw.net
:WWMWMw=–. "W=’ cable & wireless
9WWMm==-.
“-Wmw-” CABLE & WIRELESS

Emile Coetzee <emile@exinet.co.za> wrote:

> I only see the Download (untitled) in the web interface.

You don't see the body of the comment or reply to the left of the link?

> So is this a duplicate of just another way of looking at the data?

It _is_ the data. Well, part of it at least. What is displayed is a pretty formating of what is in the link.

> In other words does this take up additional space in my DB?

No.

> And I'd still like to turn this off?

Copy /path/to/rt3/share/html/Ticket/Elements/ShowTransaction to /path/to/rt3/local/html/Ticket/Elements/ShowTransaction and edit it.

Michael

--

Michael S. Liebman

Viacom Networks N.O.C. ENGINEERING

Email: michael.liebman@mtvstaff.com

Phone: 631-435-4900 x3304

Fax: 631-231-8051

It does not take up any space in your DB. The reformatting is done
on the fly. The result is only displayed but not stored.
In that case it can stay :slight_smile: I’m not going to go hacking away
at any more code than i need to.

Cheers
Emile

Thanks for all the replies. I’ve decided to keep the attachments (much safer
that way it seems :slight_smile:

Cheers
Emile