Bug 951118

Summary: Prefer-plain suppresses its own HTML attachments recursively
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: lnovich, mcrha, tpelka
Target Milestone: betaKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-2.32.3-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 05:12:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example message
none
video of the behaviour
none
evolution-2.28.3-suppress-part.patch none

Description David Jaša 2013-04-11 13:56:47 UTC
Created attachment 734212 [details]
example message

Description of problem:
evo can't open some html bodies with "Could not load attachment.html / A load operation is already in progress" error

Version-Release number of selected component (if applicable):
evolution-2.28.3-30.el6.x86_64

How reproducible:
always with given message

Steps to Reproduce:
1. set up mail reading options to prefer plain text
2. open the message
3. click the arrow to display the html part inline
  
Actual results:
1. an error pops up saying:
<b>Could not load attachment.html</b>
A load operation is already in progress
2. evolution prints to the console:
(evolution:22124): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' failed

(evolution:22124): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' failed

(evolution:22124): Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed

(evolution:22124): Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed

3. second "attachment" of "unknown attachment (attachment.html)" appears
4. after the dialog is dismissed, evo prints:
(evolution:22124): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed


Expected results:
html attachment is displayed normally

Additional info:
I didn't update the computer for few weeks and this used to work normally up until few days ago. The only thing that has changed is that I added s/mime certs to the account.

Comment 1 David Jaša 2013-04-11 14:05:36 UTC
Created attachment 734216 [details]
video of the behaviour

Comment 2 Milan Crha 2013-04-11 17:09:58 UTC
Thanks for a bug report. The only related change which I did recently was within bug #949610. Do you have that backported patch applied or not? Since your above comment sounds like not, will anything change if you'll apply it?

Comment 3 David Jaša 2013-04-12 07:15:47 UTC
No, I'm still stuck with 6.4 GA version.

Comment 4 David Jaša 2013-04-12 07:16:18 UTC
(In reply to comment #0)
> Additional info:
> I didn't update the computer for few weeks and this used to work normally up
> until few days ago. The only thing that has changed is that I added s/mime
> certs to the account.

Comment 5 Milan Crha 2013-04-15 11:05:49 UTC
OK, thanks. I just wanted to make sure. After some testing, the prefer-plain plugin causes this, the "Only ever show plain" option.

Comment 6 Milan Crha 2013-04-15 11:08:17 UTC
Created attachment 735867 [details]
evolution-2.28.3-suppress-part.patch

for evolution;

Patch to fix the issue. The prefer-plain suppresses also alone HTML parts, not only those in a multipart/alternative, and here it was applied twice, on the itself-generated attachment, which is wrong.

Comment 8 Milan Crha 2013-06-10 13:16:58 UTC
The patch is obsolete by the rebase, 2.32.3 has something similar already included.

Comment 16 errata-xmlrpc 2013-11-21 05:12:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-1540.html