Closed Bug 301793 Opened 19 years ago Closed 18 years ago

mail filter that sends a message to trash instead immediately deletes the message

Categories

(MailNews Core :: Filters, defect)

1.7 Branch
x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: andr55, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511

Added a new filter to send certain messages to trash.
Tested this filter by applying to a folder which contained one new message to be
send to trash (automatically filtered to the folder) and many older messages to
be retained.
Most of the messages were deleted.  (Probably correctly selected by the filter.)
No messages were sent to the trash folder.
All messages selected should have been sent to trash.
(The reason for sending to the trash folder is that most - but not all -
messages meeting the criteria are to be deleted, thus it is easier to send them
to trash and "undelete" the few messages to be retained.)

Note: trash is configured to be emptied only explicitly, not on exit.
Also the loss of messages was noticed immediately - it was a test - before exiting.

If there had not been a backup (due to test), would have lost important information.

A work-around is to never filter messages to trash - thus not use a potentially
useful fonction.

Reproducible: Always

Steps to Reproduce:
*Please note:  my Mozilla is in French, so the names of the menu commands may be
approximate*
1. For precaution, copy the {folder} and {folder}.msf files to a new name.
(Maybe {folder}2 and {folder}2.msf.)  Use this copy for the tests.
2. Create a filter that will select some of the messages in the folder, and send
them to the trash of the account of the folder. (i.e., if you have multiple
accounts, use the same account.)
3. Empty the trash bin (for the account of the test folder).
4. Select the test folder - i.e., move the focus to this folder.
5. Apply the new filter to the test folder.  (mail_menu: tools ->
apply_filters_to_this_folder)
Actual Results:  
1) Messages appear to have been correctly selected, and disappeared from the
test folder.
2) No messages were added to the trash folder.  I.e., all messages selected were
immediately deleted.

Expected Results:  
All messages sent to trash should have been retained in the trash folder.
No messages selected should have be immediately deleted.

*The configuration doesn't SEEM to be relevent*
The theme is classic.
Most of the configuration is default.
The mail folders are in a custom location (for additional security).
Problems are very rare.
Filters are used a lot, on multiple accounts, and generally work perfectly.
Filtrage to trash was not tried before.
Version: unspecified → 1.7 Branch
does this still happen for you with a current release?

step 2 - you mean the filter action is set to "delete" (tbe filter action is not "move to trash folder")

Severity: critical → major
Component: MailNews: Main Mail Window → MailNews: Filters
Product: Mozilla Application Suite → Core
Sorry I forgot to report that error was fixed, probably in the following stable release.
Works like a charm now.
(I use it all the time.)
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
correcting status
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.