Closed
Bug 271356
Opened 20 years ago
Closed 19 years ago
inconsistent behaviour when moving messages to a folder that has a message filter on it
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: slyoldfox, Assigned: mscott)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 This is IMAP related. The inbox has a message filter to move mails with a specific subject (e.g. [CREW]) to a particular folder. We'll call this folder "crew". I was testing the filters and it moved all messages to that folder. I then wanted to add a second filter so I moved all the messages from "crew" back to "inbox". For some reason the messages where not there, clicking around on different folders showed the msgs back in the "crew" folder. I created a new profile to test this behaviour. It seems that messages moved to a folder, where a message filter has been specified to move messages to a folder, will re-move the messages back the folder. For some weird reason this only happens when moving UNREAD messages. ie. the mail filter doesn't seem to want to move them back to the "crew" folder (possibly because it thinks the mail is not NEW). IMO, moving (unread) messages to a folder that has messages filter, from a folder where a message filter would move mail to, should no execute the mail filter. I hope you're still with me .. i'll try to be as specific as possible in the steps to reproduce Reproducible: Always Steps to Reproduce: 1. add imap account 2. create folder to store moved mail, e.g. crew 3. create a message filter which moves mail with specific subject to that folder, ie. Subject contains [crew] move to crew folder. 4. check that mail filter works by doing a "Run Filter Now" (I assume you have relevant messages to move in yur INBOX) 5. All your unread messages, moved by your filter, are now in your crew folder 6. selected the crew folder and select all messages (ctrl a), move them back to inbox 7. you will see a "moving messages to inbox" in status bar, and the inbox will now show X unread messages. 8. select INBOX (unread messages disppears) and the crew folder appears to have X unread messages again, no messages can be found in INBOX, your crew folder has all the messages again Actual Results: INBOX (message filter) `crew folder INBOX moves unread messages to crew manually moving unread messages back to INBOX will automatically execute message filter and re-move the messages to crew folder. Expected Results: Moving unread message from crew->inbox (which has a message filter to move NEW mail to crew) should not move mail.
just to clarify: Expected Results: Moving unread message from crew->inbox (which has a message filter to move NEW mail to crew) should not move mail back to where it came from if they are unread. Isn't unread != new mail then?
Comment 2•20 years ago
|
||
>7. you will see a "moving messages to inbox" in status bar, and the inbox will now show X unread messages. >8. select INBOX (unread messages disppears) and the crew folder appears to have X unread messages again, no messages can be found in INBOX, your crew folder has all the messages again What filter log says after step 7? How about after step 8? Message filtering is executed on "Clicking Inbox" when IMAP, isn't it?
Filter log when I moved 3 messages back from subfolder to INBOX: <p> Applied filter "JIRA_OTHER" to message from slyoldfox@crew.fragland.net - [JIRA] Commented: (FLNET-14) Games page: searching 0-9 doesn't work ... at 2004-11-22 08:34:19 Action = Move to folder imap://slyoldfox%40crew.fragland.net@gandalf.fragland.net/INBOX/JIRA id = 3469495.1101108859570.JavaMail.root@bert.fragland.net </p> <p> Applied filter "JIRA_OTHER" to message from slyoldfox@crew.fragland.net - [JIRA] Assigned: (FLNET-1) downloads page at 2004-11-22 13:29:19 Action = Move to folder imap://slyoldfox%40crew.fragland.net@gandalf.fragland.net/INBOX/JIRA id = 5256144.1101126559577.JavaMail.root@bert.fragland.net </p> <p> Applied filter "JIRA_OTHER" to message from slyoldfox@crew.fragland.net - [JIRA] Created: (FLNET-18) Encode HTML entities in DB at 2004-11-22 13:33:19 Action = Move to folder imap://slyoldfox%40crew.fragland.net@gandalf.fragland.net/INBOX/JIRA id = 18840451.1101126799562.JavaMail.root@bert.fragland.net </p> (the folder is actually JIRA, not crew), I was giving a fake example before, in other words "crew" folder from comment #0 == JIRA folder in filter log. It seems indeed that the message filter is executed when clicking on the inbox, but in some way i would expect new mail !- unread mail. In the end I end up with my messages back in my original JIRA folder. I have to mark them unread to move them to my INBOX so that the message filter doesn't kick in.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•