Closed
Bug 457784
Opened 16 years ago
Closed 16 years ago
Turning autosync_offline_stores pref off doesn't turn auto-sync off for offline INBOXs
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b1
People
(Reporter: bugmil.ebirol, Assigned: bugmil.ebirol)
Details
Attachments
(1 file)
944 bytes,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Turning mail.server.default.autosync_offline_stores off doesn't turn auto-sync completely off for **offline INBOX** folders.
When autosync_offline_stores is false, it prevents auto-sync from updating folders and iterating through the existing headers during idle time, but doesn't prevent it from downloading pending messages of offline INBOX folders.
As a result, unless the user sets INBOX not-offline explicitly, auto-sync keeps downloading pending messages behind the scene as they show up on the server.
This is only true for INBOX folders, auto-sync treats other folders as expected by not downloading their messages.
The root of the problem is the following test statement in nsImapMailFolder::HeaderFetchCompleted:
> if (autoSyncOfflineStores || mFlags & nsMsgFolderFlags::Inbox)
It creates a hole in the logic when the folder is INBOX, and auto-sync patch doesn't closes it.
Flags: blocking-thunderbird3?
Assignee | ||
Comment 1•16 years ago
|
||
We download the message bodies if either autosync_offline_stores or download_bodies_on_get_new_mail is true.
Attachment #341042 -
Flags: review?(bienvenu)
Updated•16 years ago
|
Attachment #341042 -
Flags: review?(bienvenu) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 341042 [details] [diff] [review] proposed fix 1 I forgot to ask for sr, doing now.
Attachment #341042 -
Flags: superreview?(bienvenu)
Updated•16 years ago
|
Attachment #341042 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 3•16 years ago
|
||
http://hg.mozilla.org/comm-central/rev/5d09d3352afe
Updated•16 years ago
|
Flags: blocking-thunderbird3? → blocking-thunderbird3+
You need to log in
before you can comment on or make changes to this bug.
Description
•