Closed Bug 307343 Opened 20 years ago Closed 16 years ago

virtual folders from saved searches try to search deleted IMAP folders

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Using latest nightly. 1.61a. Virtual folder looks for non-existent IMAP folders and gives very annoying pop-up errors for each one it doesn't find. Reproducible: Always Steps to Reproduce: 1. create a virtual folder from a saved search on an IMAP account with subdirs 2. delete some folders 3. open the virtual folder Actual Results: error messages appear saying that the deleted folders are not found Expected Results: no errors
similar sort of issue in bug 286059
Component: General → Mail Window Front End
QA Contact: general → front-end
Assignee: mscott → nobody
I see this quite often.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Matt, I'm thinking we should reopen your bug - you still see this, right? Jack, did you change something that would cause you to write "Not [seen] recently, although it did pop up again a couple of times shortly after the report."?
AFAIK, there is no provision in the codebase currently to update the definition of saved searches when there are folder changes, either adding or subtracting folders. So I expect this bug is still valid.
Actually, if a folder is removed, I remove it from the saved search scope, and if that was the last folder in the saved search, I remove the saved search - see http://mxr.mozilla.org/comm-central/source/mailnews/base/src/nsMsgAccountManager.cpp#3195 This was done as part of the smart folders patch, bug 305340, I believe. So I believe this should be marked fixed...I'll do so; please re-open if you still see this.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Ah, you snuck it in on me. Good for you!
You need to log in before you can comment on or make changes to this bug.