Summary: | inline forwarding messages with attachements is broken | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Marc Schiffbauer <mschiff> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jtamate |
Priority: | NOR | ||
Version: | 1.10.92 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marc Schiffbauer
2008-12-19 01:41:16 UTC
SVN commit 899776 by tmcguire: Fix inline-forwarding of messages with attachments. The template parser copied the original message and then set the whole body to the template text. This did not work for multipart messages, since setting the body there has no effect (and would discard the attachment if it had any effect). Therefore, we simply place the template text in the first text part we find in case of multipart messages. This probably still breaks with HTML messages with attachments or with other complicated nested structures. Oh well. BUG: 178128 BUG: 146921 M +61 -43 kmmessage.cpp M +68 -35 kmmessage.h M +12 -2 templateparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=899776 SVN commit 899972 by tmcguire: Backport r899776 by tmcguire from trunk to the 4.1 branch: Fix inline-forwarding of messages with attachments. The template parser copied the original message and then set the whole body to the template text. This did not work for multipart messages, since setting the body there has no effect (and would discard the attachment if it had any effect). Therefore, we simply place the template text in the first text part we find in case of multipart messages. This probably still breaks with HTML messages with attachments or with other complicated nested structures. Oh well. CCBUG: 178128 CCBUG: 146921 kolab/issue 3219 M +61 -43 kmmessage.cpp M +68 -35 kmmessage.h M +12 -2 templateparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=899972 |