Closed Bug 527109 Opened 16 years ago Closed 16 years ago

handle non '/' hierarchy delimiters during first time xlist special folder discovery

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: fixed-seamonkey2.0.1)

Attachments

(1 file)

Attached patch proposed fixSplinter Review
If an imap server supports xlist but doesn't use '/' as the hierarchy delimiter (e.g., Cyrus, which is used by fastmail), on first connection, our second xlist command doesn't use the correct hierarchy delimiter, so special folders aren't recognized until a restart, which isn't a nice user experience. This patch is very simple, and only affects imap servers that support xlist (gmail and dovecot currently, cyrus/fastmail soon). I'd love to have this make 3.0 so we work well with fastmail.
Attachment #410861 - Flags: superreview?(dmose)
Attachment #410861 - Flags: review?(dmose)
Attachment #410861 - Attachment is patch: true
Attachment #410861 - Attachment mime type: application/octet-stream → text/plain
Attachment #410861 - Flags: superreview?(dmose)
Attachment #410861 - Flags: superreview+
Attachment #410861 - Flags: review?(dmose)
Attachment #410861 - Flags: review+
Attachment #410861 - Flags: approval-thunderbird3+
Comment on attachment 410861 [details] [diff] [review] proposed fix r+sr+a=dmose. If it makes sense, add an XXX comment that when we're less risk-averse we could make that setter call not be conditional on Inbox, so that m_runningUrl would reflect reality better and perhaps prevent future bugs.
fixed on trunk and branch, thx!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0rc1
Confirmed works with my testing XLIST branch at FastMail - will push this back to Cyrus, so it should be useful for other Cyrus sites before long too. I suspect there will be some debate about hard coded config file entries versus cyradm settable annotations before it goes mainstream at the server end though... Bron.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: