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 532384 - Meeting invites are showing up just as text messages
Meeting invites are showing up just as text messages
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 392731 531895 533281 534876 536608 536621 537695 537736 538795 542109 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-09 18:22 UTC by Paul Smith
Modified: 2008-08-22 07:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
A sample meeting request from Outlook (3.37 KB, application/octet-stream)
2008-05-26 09:32 UTC, Bharath Acharya
  Details
proposed evo patch (2.31 KB, patch)
2008-05-26 14:43 UTC, Milan Crha
committed Details | Review

Description Paul Smith 2008-05-09 18:22:02 UTC
Please describe the problem:
Starting with some very recent checkin into the Evolution 2.22 branch (maybe the changes between 2.22.1 and 2.22.1.1?) completely broke meeting invites.  After upgrading recently on my Ubuntu Hardy (8.04) system, now when I look at a meeting invite (from Exchange users) the message shows up as ONLY the text part of the multipart MIME message.  There is no trace at all of the text/calendar part.  I don't see it as an attachment that can be saved (there is no attachment save button or indication at all).  And, I don't get the accept/decline/etc. buttons or anything.

It looks like a text message with no attachments.

I've built a debug version from the very latest code on the 2.22 SVN branch, and this problem is present there.

Steps to reproduce:
1. Have someone invite you to a meeting
2. Look at the meeting invite in your inbox



Actual results:
As above: the invite message is a text message with no accept/decline/whatever

Expected results:
A meeting invite should be displayed

Does this happen every time?
Yes.

Other information:
I tried this with both the Itip plugin enabled and disabled; no difference.
Comment 1 Paul Smith 2008-05-09 18:45:30 UTC
I filed this against Evolution, not evolution-exchange, because the evolution-exchange package in Hardy was not upgraded at all when I started to get this error.  Only the Evo and e-d-s packages were upgraded.

I marked this as "normal" based on the description of normal, but really, this bug makes Evo very difficult to use for me.  For my use, the severity is really much higher than "normal".
Comment 2 André Klapper 2008-05-09 21:53:32 UTC
also see bug 531895 
Comment 3 Graham 2008-05-11 06:13:00 UTC
I also see the same issue with 2.22.1.1 and hardy.
Comment 4 Bharath Acharya 2008-05-12 07:05:15 UTC
Paul,

Do try out this patch committed to STABLE and let me know if it fixes the issue. http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8782
Comment 5 Paul Smith 2008-05-12 12:23:48 UTC
Nope, I still get exactly the same behavior after I've checked out a new version from branch 2.22 and rebuilt.  I killed all Evo processes and even tried deleting my ~/.evolution/exchange and ~/.evolution/mail/exchange directories but after that the meeting invites still show up as plain text and there's no attachment.

Looking at the patch it seems like a good one, to avoid duplicate frees and memory leaks and things like that, but I don't see how it has any relationship to this bug, which is that meeting invites are consistently not recognized as such and the VCALENDAR attachment is completely ignored.
Comment 6 Paul Smith 2008-05-12 12:25:21 UTC
Oh and by the way, I think the bug # you list in the changelog for this patch is not right.  The bug 388579 is "Failure to open Intel ICH sound card".
Comment 7 Bharath Acharya 2008-05-12 13:17:44 UTC
It is a bnc bug not a Gnome Bugzilla bug. And the patch would affect the scan_attachment section which scans the attachment property. It seemed to have fixed the issue. Would take a look into it again and come back with updates. Thanks
Comment 8 Paul Smith 2008-05-12 13:53:44 UTC
Ah sorry; I don't know what bnc is.  Anyway, I just got another brand new meeting invite and it's still seen as text only.  I double-checked that my makefile did the right thing: I see the change info in the e-d-s/calendar/ChangeLog and the new code in the .c file, and I checked the dates on the created executables (evolution-data-server and evolution and evolution-exchange-storage) vs. the start times for the processes and there's no question I'm running with this patch installed.  So, there must be more to the problem.

It seems like it would be trivial to recreate: just get someone to send you a meeting invite.  I tried sending a normal invite to my IMAP address from my Exchange mailbox and got the same (text only) behavior when I received it.  If you can't recreate it maybe there's something different about our setup.  Is there something I can do here to help debug it?
Comment 9 Matthew Barnes 2008-05-12 14:26:45 UTC
bnc == http://bugzilla.novell.com/

You have to sign up for an account just to view a bug.
Comment 10 Bharath Acharya 2008-05-13 06:47:09 UTC
Back with updates. Thanks to Srini for pointing to the right section. Looked into the commit list and looks like this commit might have caused the issue http://svn.gnome.org/viewvc/evolution?view=revision&revision=35375

Paul, disable "Prefer plain-text" plugin and just restart. Maybe your meetings would look better then. Thanks
Comment 11 Bharath Acharya 2008-05-13 07:00:22 UTC
*** Bug 531895 has been marked as a duplicate of this bug. ***
Comment 12 Paul Smith 2008-05-13 11:47:16 UTC
Hah.  That did it.  I disabled the "Prefer plain-text" plugin, and now my calendar requests show up properly again.  Seems like this plugin is definitely experimental and not ready for prime-time... as it says right in the description!  And even if it did not cause this problem, I assume that many (most?) users would NOT want to prefer plain-text versions of their email anyway.

So, the question is, why is it enabled by default?

Maybe the bug should be reduced to, make this plugin disabled by default instead of enabled.
Comment 13 Gicu Gorodenco 2008-05-14 06:51:09 UTC
Aha... This is the problem. It worked perfectly.
Thanks everyone.
Comment 14 Bharath Acharya 2008-05-15 14:23:03 UTC
*** Bug 533281 has been marked as a duplicate of this bug. ***
Comment 15 Milan Crha 2008-05-26 09:23:19 UTC
It works fine for me with local account and invites from Evolution itself. I would like to get an example message where you can reproduce, or give a list (tree) of parts in a mail. It's possible there is a text/html part in a mail and prefer-plain choose that one.
Comment 16 Bharath Acharya 2008-05-26 09:32:18 UTC
Created attachment 111548 [details]
A sample meeting request from Outlook
Comment 17 Milan Crha 2008-05-26 14:43:08 UTC
Created attachment 111558 [details] [review]
proposed evo patch

for evolution;

Checks if the multipart contains also text/plain part.
Comment 18 Bharath Acharya 2008-05-27 06:27:59 UTC
*** Bug 534876 has been marked as a duplicate of this bug. ***
Comment 19 Srinivasa Ragavan 2008-05-27 12:32:30 UTC
Looks fine to commit Milan for stable & trunk.
Comment 20 Milan Crha 2008-05-27 12:39:21 UTC
Committed to trunk. Committed revision 35554.
Committed to gnome-2-22. Committed revision 35555.
Comment 21 Bharath Acharya 2008-06-05 05:50:11 UTC
*** Bug 536608 has been marked as a duplicate of this bug. ***
Comment 22 Bharath Acharya 2008-06-05 05:51:18 UTC
*** Bug 536621 has been marked as a duplicate of this bug. ***
Comment 23 Bharath Acharya 2008-06-11 05:01:16 UTC
*** Bug 537695 has been marked as a duplicate of this bug. ***
Comment 24 Akhil Laddha 2008-06-18 03:20:33 UTC
*** Bug 538795 has been marked as a duplicate of this bug. ***
Comment 25 Susana 2008-06-26 21:28:31 UTC
*** Bug 537736 has been marked as a duplicate of this bug. ***
Comment 26 Akhil Laddha 2008-08-04 04:48:15 UTC
*** Bug 392731 has been marked as a duplicate of this bug. ***
Comment 27 Akhil Laddha 2008-08-22 07:01:34 UTC
*** Bug 542109 has been marked as a duplicate of this bug. ***