GNOME Bugzilla – Bug 646898
imapx should invalidated cache when uidvalidity changes
Last modified: 2011-05-17 09:31:31 UTC
My server is running courier-imap-ssl 4.8.0-1ubuntu1 (Ubuntu Maverick). I noticed that since I updated to Evolution 2.32.2 (Ubuntu Natty), lot of new mails appears with the right title in the treeview but an old unrelated mail was displayed instead when reading the mail. Thanks to dwmw2's help on IRC I managed to fix this issue by removing Evolution's cache but he asked me to open a bug report: <dwmw2> hm, this might actually be an imapx bug <dwmw2> we don't handle uidvalidity changes properly <dwmw2> we should throw away the entire cache and start again when uidvalidity changes
Created attachment 187949 [details] [review] eds patch for evolution-data-server; This makes imapx manage uidvalidity in a bit better way, it clears local cache on its change and forces refetch of all messages (on demand). New API function to CamelDataCache was added, thus only for master.
Created commit 621d4e0 in eds master (3.1.2+)