RT create empty MIME entity for empty reply or comment messages since 4.0.8

Hi,

if you reply or comment on an ticket in the webui and only upload an
attachment and don’t put anything in the message box RT creates 3
attachments for this transaction. I would expect only 2 attachments.

Our user use this to add an attachment to the ticket but it can also be
used to just send the requestors the attachment without an message.

This behavior started after we upgraded in March from 4.0.8 to 4.0.10:

mysql> SELECT SUBSTRING(Created, 1, 7) AS Created, COUNT(*) AS COUNT
-> FROM Attachments
-> WHERE ContentType = ‘application/octet-stream’
-> AND Filename IS NULL
-> AND ContentEncoding IS NULL
-> GROUP BY 1;
| Created | COUNT |
| 2013-03 | 131 |
| 2013-04 | 205 |

Is this the desired behavior or is this an bug?

Chris

attachments.txt (1.51 KB)

Hi,

if you reply or comment on an ticket in the webui and only upload an
attachment and don’t put anything in the message box RT creates 3
attachments for this transaction. I would expect only 2 attachments.

Our user use this to add an attachment to the ticket but it can also be
used to just send the requestors the attachment without an message.

This behavior started after we upgraded in March from 4.0.8 to 4.0.10:

mysql> SELECT SUBSTRING(Created, 1, 7) AS Created, COUNT(*) AS COUNT
-> FROM Attachments
-> WHERE ContentType = ‘application/octet-stream’
-> AND Filename IS NULL
-> AND ContentEncoding IS NULL
-> GROUP BY 1;
±--------±------+
| Created | COUNT |
±--------±------+
| 2013-03 | 131 |
| 2013-04 | 205 |
±--------±------+

Is this the desired behavior or is this an bug?

No. This is a bug.

Chris

Best regards, Ruslan.

Thanks for the quick response.
I created an ticket for this:
http://issues.bestpractical.com/Ticket/Display.html?id=23665

ChrisAm 17.04.2013 09:43, schrieb Ruslan Zakirov:

No. This is a bug.