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 344278 - imap_update_summary() fetches neither CONTENT-TYPE nor X-MAILING-LIST headers
imap_update_summary() fetches neither CONTENT-TYPE nor X-MAILING-LIST headers
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 341647 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-08 13:01 UTC by David Woodhouse
Modified: 2013-09-10 13:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
partha's patch (1.78 KB, patch)
2006-06-15 13:08 UTC, André Klapper
committed Details | Review

Description David Woodhouse 2006-06-08 13:01:48 UTC
Please describe the problem:
Instead, it attempts to fetch a CONTENT-TYPEX-MAILING-LIST header.

Trivial fix...
--- evolution-data-server-1.6.2/camel/providers/imap/camel-imap-folder.c~       2006-05-22 07:59:10.000000000 +0100
+++ evolution-data-server-1.6.2/camel/providers/imap/camel-imap-folder.c        2006-06-08 14:00:43.000000000 +0100
@@ -2334,7 +2334,7 @@ imap_update_summary (CamelFolder *folder

        CAMEL_SERVICE_ASSERT_LOCKED (store, connect_lock);
        if (store->server_level >= IMAP_LEVEL_IMAP4REV1)
-               header_spec = "HEADER.FIELDS (" CAMEL_MESSAGE_INFO_HEADERS MAILING_LIST_HEADERS ")";
+               header_spec = "HEADER.FIELDS (" CAMEL_MESSAGE_INFO_HEADERS " " MAILING_LIST_HEADERS ")";
        else
                header_spec = "0";



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2006-06-15 13:08:46 UTC
Created attachment 67416 [details] [review]
partha's patch

fix is already fixed in HEAD because of partha:
http://cvs.gnome.org/viewcvs/evolution-data-server/camel/providers/imap/camel-imap-folder.c?r1=1.359&r2=1.360,

attaching the same patch here for stable branch...
Comment 2 André Klapper 2006-06-15 14:49:42 UTC
quoting the changelog entry to that bug:

2006-05-10  Parthasarathi Susarla

	* camel-imap-folder.c:
	Add space at the end of CAMEL_MESSAGE_INFO_HEADERS. The content-type
	header wont be fetched otherwise(it mergers with the
	MESSAGE_LIST_HEADER).
	This fix shows the attachment icon in the message list

so because of this, the attachment icon is not shown.
Comment 3 Veerapuram Varadhan 2006-06-15 14:53:26 UTC
Patch can be committed for stable branch.
Comment 4 André Klapper 2006-06-15 15:01:54 UTC
patch also committed to stable branch:
http://cvs.gnome.org/viewcvs/evolution-data-server/camel/providers/imap/camel-imap-folder.c?r1=1.358.2.2&r2=1.358.2.3

fix will be included in stable evolution 2.6.3.
Comment 5 Karsten Bräckelmann 2006-08-01 22:07:10 UTC
*** Bug 341647 has been marked as a duplicate of this bug. ***