[rt-devel] RT create empty MIME entity for empty reply or comment messages since 4.0.8
Christian Loos
cloos at netcologne.de
Wed Apr 17 03:03:20 EDT 2013
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
-------------- next part --------------
mysql> select id, Parent, ContentType, Filename, ContentEncoding, Headers FROM Attachments WHERE TransactionId = 2331609\G
*************************** 1. row ***************************
id: 618
Parent: 0
ContentType: multipart/mixed
Filename: NULL
ContentEncoding: NULL
Headers: MIME-Version: 1.0
In-Reply-To: <rt-4.0.11-4319-1366179812-731.0-0-0 at netcologne.de>
X-RT-Original-Content-Type: text/plain
X-Mailer: MIME-tools 5.503 (Entity 5.503)
X-RT-Interface: Web
References: <rt-4.0.11-4319-1366179812-731.0-0-0 at netcologne.de>
Content-Type: multipart/mixed; boundary="----------=_1366180329-4291-10"
Message-ID: <rt-4.0.11-4291-1366180329-121.156955-0-0 at netcologne.de>
RT-Send-CC:
RT-Send-BCC:
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
*************************** 2. row ***************************
id: 619
Parent: 618
ContentType: application/octet-stream
Filename: NULL
ContentEncoding: NULL
Headers: Content-Type: application/octet-stream
Content-Length: 0
*************************** 3. row ***************************
id: 620
Parent: 618
ContentType: application/pdf
Filename: Android intro.pdf
ContentEncoding: none
Headers: MIME-Version: 1.0
Subject: Android intro.pdf
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: application/pdf; name="Android intro.pdf"
Content-Disposition: inline; filename="Android intro.pdf"
Content-Transfer-Encoding: base64
Content-Length: 176607
3 rows in set (0.00 sec)
More information about the rt-devel
mailing list