Editing comments

Is there a way to edit comments? Problem arose when a helpdesk guy here
apparently copy and pasted into the comment block of a ticket, and it
grabbed a bunch of “bonus code”. Now the comments for that ticket
read: Message
body not shown because it is too large. He knows not to do that now, but
I’m sure this will come up again, and I’d like to salvage this ticket, and
any further comments seem to display the error above as well. Is there an
easy way to go in and edit the comments, to remove the extra junk that got
put in it?

Is there a way to edit comments? �Problem arose when a helpdesk guy here
apparently copy and pasted into the comment block of a ticket, and it
grabbed a bunch of “bonus code”. �Now the comments for that ticket
read:�Message body not shown because it is too large. �He knows not to do
that now, but I’m sure this will come up again, and I’d like to salvage
this ticket, and any further comments seem to display the error above as
well. �Is there an easy way to go in and edit the comments, to remove the
extra junk that got put in it?

You cannot edit a comment/response in RT. You have to to this in SQL
directly in the database … to be used carrefully!

You can alsoe play with the option $MaxInlineBody:

=item C<$MaxInlineBody>

C<$MaxInlineBody> is the maximum attachment size that we want to see
inline when viewing a transaction. RT will inline any text if value
is undefined or 0. This option can be overridden by users in their
preferences.

=cut

Set($MaxInlineBody, 12000);

every text file with a length above this value will be replaced by
“Message body not shown because it is too large” in the web UI and
accessible with the download link.