GNOME Bugzilla – Bug 693306
Folder types not set when any standard folder is missing
Last modified: 2013-02-07 17:33:24 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=906484 Long story short: Reporter's Exchange server doesn't have available one of the standard folders, which returns: <m:GetFolderResponseMessage ResponseClass="Error"> <m:MessageText>The specified folder could not be found in the store. </m:MessageText> <m:ResponseCode>ErrorFolderNotFound</m:ResponseCode> <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey> <m:Folders/> </m:GetFolderResponseMessage> and if I counted it right, then it's the 'journal' folder. User found it when trying to delete messages from Deleted Items, these were not removed from the server, and it turned out that evolution-ews didn't recognize Deleted Items folder as a trash folder, thus it didn't try to delete permanently the message from the server.
Created attachment 235432 [details] [review] ews patch for evolution-ews; This fixes the issue by: - adding an 'error' into EEwsFolder structure - creating an 'error' folder if necessary, rather than abort whole operation - postpones created folder notifications only after folder types are properly read, thus the initial folder download shows Inbox with an Inbox icon, not as a regular folder, even the type was read properly (which is proved the next start, when special folder has its icons in the evolution's view)
Created commit 4f8b0cd in ews master (3.7.90+) Created commit 60dcfcf in ews gnome-3-6 (3.6.4+)