[Tracker-discuss] replies appearing as attachments

Erik Forsberg forsberg at efod.se
Thu Oct 18 21:07:35 CEST 2007


On Thu, 18 Oct 2007 12:22:22 -0400
"Raghuram Devarakonda" <draghuram at gmail.com> wrote:

> Hi,
> 
> Check http://bugs.python.org/issue1290.
> 
> In addition to the actual attachment "testdata.txt", two other
> attachments "unnamed" appear and they seem to be the email replies to
> the bug. This is not the expected behaviour. Right?

I think that is the result of the replies being written using a mail
program that sends mail as both text/plain and text/html. Roundup will
parse the mail and add the text/plain part as a message on the issue,
and add the text/html part as an attachment.

Inspecting the unnamed attachments on the issue you're linking to, they
are indeed duplicate copies of the messages added at the same time. 

Slightly odd, but how is roundup supposed to know that the text/html is
just a duplicate of the text/plain part? It could be a real text/html
attachment added on purpose. 

I guess this became more visible now with the changes I made yesterday
to fix http://psf.upfronthosting.co.za/roundup/meta/issue164, as each
attachment is now listed in all mail sent to nosy and python-bugs-list.

We could filter out attachments with the name "unnamed". Hmm..

\EF
-- 
Erik Forsberg                 http://efod.se
GPG/PGP Key: 1024D/0BAC89D9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tracker-discuss/attachments/20071018/9988d5c3/attachment.pgp 


More information about the Tracker-discuss mailing list