Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 951118 - Prefer-plain suppresses its own HTML attachments recursively
Prefer-plain suppresses its own HTML attachments recursively
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evolution (Show other bugs)
6.4
Unspecified Unspecified
unspecified Severity medium
: beta
: ---
Assigned To: Matthew Barnes
Desktop QE
: Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-11 09:56 EDT by David Jaša
Modified: 2014-01-02 05:59 EST (History)
3 users (show)

See Also:
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 00:12:38 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
example message (22.63 KB, text/plain)
2013-04-11 09:56 EDT, David Jaša
no flags Details
video of the behaviour (7.13 MB, video/mp4)
2013-04-11 10:05 EDT, David Jaša
no flags Details
evolution-2.28.3-suppress-part.patch (1.11 KB, patch)
2013-04-15 07:08 EDT, Milan Crha
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1540 normal SHIPPED_LIVE Low: evolution security, bug fix, and enhancement update 2013-11-20 19:40:51 EST

  None (edit)
Description David Jaša 2013-04-11 09:56:47 EDT
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 10:05:36 EDT
Created attachment 734216 [details]
video of the behaviour
Comment 2 Milan Crha 2013-04-11 13:09:58 EDT
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 03:15:47 EDT
No, I'm still stuck with 6.4 GA version.
Comment 4 David Jaša 2013-04-12 03:16:18 EDT
(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 07:05:49 EDT
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 07:08:17 EDT
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 09:16:58 EDT
The patch is obsolete by the rebase, 2.32.3 has something similar already included.
Comment 16 errata-xmlrpc 2013-11-21 00:12:38 EST
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

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