My company recently upgraded to RT 5.0.1. Previously when I resolved a ticket (without entering anything into the description) there would be no “Comments added” entry in the ticket history and no email would be sent out to the watchers. Now a message containing only the signature appears in the history and is sent out to the watchers.
I have a signature, I removed it and no comment was logged when I resolved a ticket, so it looks like the signature is causing the problem. I also tried deleting all text when resolving a ticket but a comment with no text is still logged.
Is this a bug? Is there anything I can do about it?
Do you have a customized comment email template? I tested very quickly and if I delete the signature from the comment box on the update page and resolve a ticket the only outgoing email I see is auto on resolve email
I’m not sure what you mean by a “customized comment email template” but I don’t think we have one - if I removed my signature in preferences then the comment box is blank.
Also, other users here don’t see this behaviour, only me, so it isn’t any global setting.
I’m also not sure what you mean by “auto on resolve” email but no-one else here gets any sort of email sent out on resolve - presumably if they add a comment they do get something sent out but most of the time it is a silent operation.
We are currently on version 5.0.0, we have the same issue since we upgraded to version from 4.4.4. We did not have this issue on version 4.4.4. I never got to troubleshoot it because we do not use AdminCCs that much , if you need any info from our instance for troubleshooting do not hesitate to ask.
Do you have access to the debug log? Can you tail the log and set the RT log level to debug. Then perform an empty comment that sends this bug email. While watching the log, you should see something like “committing for scrip #4”.
Then we can know which scrip is sending the email with just the signature
Was this every resolved? I have the same problem: when changing status on a ticket, or doing bulk actions, my signature is added to the comment box and seen as a non-empty comment for the ticket. If I erase the signature text, it is an empty comment, and not included.
In RT4.x the signature (only) was considered an empty comment.
I believe I have the answer: it doesn’t support HTML signatures.
Unfortunately in RT 5.0.3 if you edit any of your “About Me” while having the WYSIWYG option set to Yes then it will convert your signature to HTML format.
The function which is responsible for detecting whether your comment is just the signature, namely StripContent from RT::Interface::Web, simply doesn’t work if the signature is in HTML format.
The answer (for now): temporarily set your WYSIWYG setting to no, edit your sig down to plain text, then (if desired) turn WYSIWYG back on.
You can review the release notes and documentation for RT 5.0.1 to see if this change was intended or if there are any configuration options that control comment logging on ticket resolution. Thanks