[kmail2] [Bug 333150] Deleting attachment removes the entire message

Erik Quaeghebeur kdebugs at equaeghe.nospammail.net
Fri Nov 28 09:39:50 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=333150

--- Comment #3 from Erik Quaeghebeur <kdebugs at equaeghe.nospammail.net> ---
Ok, I discovered the following:

The problem occurs in the following MIME structure:

  multipart/mixed [multipart/alternative [text/plain, text/html],
application/pdf(attachment disposition)]

deleting the attachment creates the following *invalid* MIME structure

  multipart/alternative [text/x-moz-deleted(attachment disposition)]

instead of

  multipart/mixed [multipart/alternative [text/plain, text/html],
text/x-moz-deleted(attachment disposition)]

On the other hand

  multipart/mixed [text/plain, application/pdf(attachment disposition)]

and

  multipart/mixed [multipart/alternative [text/plain, text/html],
application/pdf(attachment disposition), application/pdf(attachment
disposition)]

correctly give

  multipart/mixed [text/plain, text/x-moz-deleted(attachment disposition)]

and

  multipart/mixed [multipart/alternative [text/plain, text/html],
application/pdf(attachment disposition), text/x-moz-deleted(attachment
disposition)]
  multipart/mixed [multipart/alternative [text/plain, text/html],
text/x-moz-deleted(attachment disposition), text/x-moz-deleted(attachment
disposition)]

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list