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 573736 - "Expunge Folder" in MAPI INBOX deletes all email messages with no option of recovery
"Expunge Folder" in MAPI INBOX deletes all email messages with no option of r...
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
0.27.x
Other Linux
: High critical
: ---
Assigned To: Johnny Jacob
evolution-mapi-maint
: 600600 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-02 10:25 UTC by Oded Arbel
Modified: 2009-11-26 07:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use proper masks on flags (2.02 KB, patch)
2009-11-05 10:13 UTC, Johnny Jacob
committed Details | Review

Description Oded Arbel 2009-03-02 10:25:02 UTC
When deleting items in a MAPI INBOX, either from the Evolution MAPI account or from another mail client, and then using "Expunge Folder" on the INBOX, all email messages are removed from the inbox with no option of recovery.

I managed to reproduce this on the INBOX folder, but not on any other folder.

I think this is only happen when the message list is out of sync with the Exchange server, as per Bug 573730, but I'm not 100% sure about that.
Comment 1 Jos Dehaes 2009-04-20 16:58:14 UTC
confirming!!!!
Comment 2 sean 2009-05-10 22:11:55 UTC
I have not seen this myself, but I can confirm that a coworker had her INBOX purged with using the Evolution MAPI connector.
Comment 3 Oded Arbel 2009-09-08 08:59:00 UTC
Happened to me again with Evolution MAPI 0.27.91 (luckily I expect as much and copied off my inbox). Can someone with permissions please move this bug to a CONFIRMED status.

I might be able to reproduce this reliably - please let me know if you need more details. At this point I don't recommend anyone using Evolution's MAPI access on one's primary email account.
Comment 4 Akhil Laddha 2009-11-04 03:48:16 UTC
*** Bug 600600 has been marked as a duplicate of this bug. ***
Comment 5 Johnny Jacob 2009-11-05 10:13:10 UTC
Created attachment 146991 [details] [review]
Use proper masks on flags
Comment 6 Paul Smith 2009-11-05 14:35:34 UTC
Thanks Johnny.  Can you explain what the intended behavior of Expunge is, for MAPI environments?  Is this documented anywhere?
Comment 7 Paul Smith 2009-11-05 14:40:12 UTC
Also, can you please commit this fix to the 2.28 stable branch?  It's (IMO) a critical blocker bug that needs to be fixed everywhere.  Thanks again.
Comment 8 Johnny Jacob 2009-11-05 15:42:34 UTC
(In reply to comment #6)
> Thanks Johnny.  Can you explain what the intended behavior of Expunge is, for
> MAPI environments?  Is this documented anywhere?

Delete :
1. Messages are marked for deletion.
2. On the next folder sync (happens on folder switch/double click), messages are moved to 'Deleted Items'

Expunge :
3. 'Deleted Items' folder : Folder is emptied.
4. Other folders :
4.a - User marks messages for deletion
4.b - User invokes Expunge (Note : Folder sync as in point 2 hasn't happened)
4.c - Marked messages are deleted permanently from server.

Hope that clears up the confusion. Please let me know if otherwise.
Comment 9 Akhil Laddha 2009-11-06 11:15:58 UTC
Patch seems to work fine for me.
Comment 10 Johnny Jacob 2009-11-07 17:33:38 UTC
Patch committed to master (would push to stable bit later)