Bug 895381 - Evolution not able to show html part if content-Type is "text/plain"
Summary: Evolution not able to show html part if content-Type is "text/plain"
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-mapi
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 07:12 UTC by Samarjit Adhikari
Modified: 2013-01-17 19:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-15 09:30:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
evolution-thunderbird comparison (456.35 KB, application/zip)
2013-01-15 07:12 UTC, Samarjit Adhikari
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 691772 0 None None None Never

Description Samarjit Adhikari 2013-01-15 07:12:33 UTC
Created attachment 678663 [details]
evolution-thunderbird comparison

Description of problem:
Evolution not able to show html part if content-Type is "text/plain"
The same mail when opened from thunderbird it was showing content-type was "text/html" and encoding as base64. I was using evolution-mapi only
In thunderbird i was using EWS interface. 

Version-Release number of selected component (if applicable):
Evolution 3.6.2
Fedora-prerelease 18

How reproducible:
Open the attached mail which is in mbox format.
There is another .txt file which is taken from thunderbird to compare
Evolution and thunderbird screen shots are also attached.

Steps to Reproduce:
1.Given above
2.
3.
  
Actual results:
Evolution should show html part even though the content type is "text/plain"

Expected results:
Evolution not able to show html part if content-Type is "text/plain"

Additional info:

Comment 1 Milan Crha 2013-01-15 09:30:12 UTC
Thanks for a bug report. The Evolution itself behaves correctly, it shows the text/plain part properly, because that is the only part in the message evolution-mapi gave to it. Thus it seems to me that evolution-mapi downloaded the text/plain part only, instead of the text/html part.

I moved this upstream as [1]. Please see [1] for any further updates. Feel free to CC yourself there.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=691772

Comment 2 Samarjit Adhikari 2013-01-17 02:55:17 UTC
(In reply to comment #1)
> Thanks for a bug report. The Evolution itself behaves correctly, it shows
> the text/plain part properly, because that is the only part in the message
> evolution-mapi gave to it. Thus it seems to me that evolution-mapi
> downloaded the text/plain part only, instead of the text/html part.
> 
> I moved this upstream as [1]. Please see [1] for any further updates. Feel
> free to CC yourself there.
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=691772

Could i use same binary package [2] for verification of this bug?

[2]http://koji.fedoraproject.org/koji/taskinfo?taskID=4868421

Comment 3 Samarjit Adhikari 2013-01-17 12:02:41 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Thanks for a bug report. The Evolution itself behaves correctly, it shows
> > the text/plain part properly, because that is the only part in the message
> > evolution-mapi gave to it. Thus it seems to me that evolution-mapi
> > downloaded the text/plain part only, instead of the text/html part.
> > 
> > I moved this upstream as [1]. Please see [1] for any further updates. Feel
> > free to CC yourself there.
> > 
> > [1] https://bugzilla.gnome.org/show_bug.cgi?id=691772
> 
> Could i use same binary package [2] for verification of this bug?
> 
> [2]http://koji.fedoraproject.org/koji/taskinfo?taskID=4868421

Above issue is not fixed with the given binary.

Comment 4 Milan Crha 2013-01-17 19:03:09 UTC
(In reply to comment #3)
> > [2]http://koji.fedoraproject.org/koji/taskinfo?taskID=4868421
> 
> Above issue is not fixed with the given binary.

Right, that's correct. The above package is for evolution, while the associated upstream bug is for evolution-mapi. By a change, I built a test package of evolution-mapi with that and another patch at [3]. Please note that message which are already downloaded will not be "fixed", because they will co me from cache. To workaround this, go to:
   ~/.cache/evolution/mail/<some-uid>/folders/Mailbox - User Name/...
which contains all the viewed messages. When you delete this cache, then they all will be downloaded again, and reconstructed with the new code (fixes).

[3] http://koji.fedoraproject.org/koji/taskinfo?taskID=4879102


Note You need to log in before you can comment on or make changes to this bug.