After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691772 - Long text/html message constructed as text/plain only
Long text/html message constructed as text/plain only
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-15 09:29 UTC by Milan Crha
Modified: 2013-01-21 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ema patch (14.02 KB, patch)
2013-01-15 13:02 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2013-01-15 09:29:42 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=895381

When a message contains only text/html part, then evolution-mapi downloads the text/plain part instead.
Comment 1 Milan Crha 2013-01-15 13:02:59 UTC
Created attachment 233520 [details] [review]
ema patch

for evolution-mapi;

This broke during a change for long properties download, which are received as streamed properties. In case the property of HTML body is too large, it was not found in streamed properties properly, and thus the code used only the text/plain body. This patch fixes it, and makes the message multipart/alternative, providing both plain and HTML parts.
Comment 2 Milan Crha 2013-01-15 13:06:18 UTC
Created commit 6c6ca88 in ema master (3.7.5+)
Created commit d9c3a68 in ema gnome-3-6 (3.6.3+)
Comment 3 Samarjit Adhikari 2013-01-17 12:57:08 UTC
Could i get a test binary here?
Comment 4 Milan Crha 2013-01-18 09:47:10 UTC
yup, done as part of bug #691834 comment #5.
Comment 5 Samarjit Adhikari 2013-01-18 12:58:25 UTC
(In reply to comment #4)
> yup, done as part of bug #691834 comment #5.

It is partly fixed. i found another message where mapi downloads only text/plain part.The message under testing will be sent to you over mail.
Comment 6 Milan Crha 2013-01-21 13:19:54 UTC
I tested with your message, by importing the thunderbird version into my exchange server using EWS and downloading the message with MAPI, and it is shown properly for me. Could it be that the re-download of the message didn't happen with the recent patches and updated evolution-mapi?

Let's see what it'll do with the official 3.6.3 release. The 3.6.4 is not planned yet, and it's unsure whether it'll happen at all, but if there will be found sever issues in 3.6.3, then it'll be likely that the release will be done.