Closed Bug 470151 Opened 17 years ago Closed 17 years ago

nsImapMailFolder::AddSubfolder needs to notify about new folder.

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b2

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

Attached patch proposed fixSplinter Review
the new archive code is using get resource to find if a folder exists, and addSubfolder to create new folders, and then does a createStorageIfMissing. In order for the folder pane to get notified of the new folder, addSubfolder needs to do the notification, because the normal imap possibleImapMailbox code won't do a notification if the folder already exists. Also, in a related issue, when adding an imap folder to the root, we need to make sure the cached copy of the root folder's hierarchy delimiter is set when we retrieve the hierarchy delimiter, because some code uses the cached copy. This fixes some of those problems where we create hierarchies like inbox^sent, etc.
Attachment #353598 - Flags: superreview?(bugzilla)
Attachment #353598 - Flags: review?(bugzilla)
Attachment #353598 - Flags: superreview?(bugzilla)
Attachment #353598 - Flags: superreview+
Attachment #353598 - Flags: review?(bugzilla)
Attachment #353598 - Flags: review+
fix checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → Thunderbird 3.0b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: