Summary | "Empty Trash" button deletes all e-mail from INBOX with specific preferences defined |
Queue | IMP |
Queue Version | 4.1.1 |
Type | Bug |
State | Duplicate |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | poehler (at) nexcess (dot) net |
Created | 04/18/2006 (7099 days ago) |
Due | |
Updated | 04/20/2006 (7097 days ago) |
Assigned | 04/19/2006 (7098 days ago) |
Resolved | 04/19/2006 (7098 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
not, would just updating a few files be a reasonable patch until 4.1.2
is out the door? If so, can you let me know which files those are?
Sorry for all the questions. I hope they're reasonable and not too annoying.
Paul
State ⇒ Duplicate
Priority ⇒ 2. Medium
fixes I have made. But I've added some more sanity checking for this,
and made it so these links don't appear if these values are set.
Added this code to HEAD and 4.1.2.
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ "Empty Trash" button deletes all e-mail from INBOX with specific preferences defined
Queue ⇒ IMP
(3.3.1 & 4.4.1).
A client of ours managed to find a series of events that lead to all the
mail from her INBOX being deleted when she clicked the "Empty Trash"
menu item.
I've managed to reproduce this. Here's what I did.
Under:
Options for Mail -> Deleting and Moving Messages
CHECKED: When deleting messages, move them to your Trash folder instead of
marking them as deleted?
UNCHECKED: Use Virtual Trash Folder?
Trash folder: [None]
CHECKED: Display the "Empty Trash" link in the menubar?
With those options set, if you click the "Empty Trash" link in the menubar,
it will act as if the INBOX is the trash folder, and delete all the messages
in the INBOX. The confirmation popup says "Are you sure you wish to
empty your trash folder?"
I understand why this occured, I think - having no trash folder specified
made IMP treat the INBOX as the trash folder while emptying. I don't think
this is intended behavior though. The end user certainly wasn't expecting
the mail in their INBOX to be deleted. It seems to me that the "Empty
Trash" link in the menubar should not appear if the selected trash
folder is [None]. That would prevent this from happening in the future.