Closed Bug 1995078 Opened 5 months ago Closed 4 months ago

The "Offline" folder flag is clobbered for EWS folders upon restart.

Categories

(MailNews Core :: Networking: Exchange, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED
146 Branch

People

(Reporter: benc, Assigned: benc)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

For new EWS folders, the nsMsgFolderFlags::Offline is always reset when the app is restarted (to whatever the server default is).

Steps to replicate:

  1. Run with an EWS account.
  2. Create a new EWS folder.
  3. Right click on folder -> "Properties" -> "Synchronization" tab.
  4. See that "Select this folder for offline use" is checked.
  5. Uncheck it.
  6. Restart the app.
  7. Go back to the folder "Synchronization" tab again (step 3).
  8. Look at the state of the "Select this folder for offline use" checkbox.

Observed:
Despite step 5, the checkbox is now checked.

Expected:
The checkbox should have retained the unchecked state from step 5.

Assignee: nobody → benc
Status: NEW → ASSIGNED

As so many things, this boils down to problems in the mess that is folder initialisation.

See Also: → 1734254
Priority: -- → P2
Attachment #9520871 - Attachment description: WIP: Bug 1995078 - Avoid resetting nsMsgFolderFlags::Offline when initialising EWS folders from local store. → Bug 1995078 - Avoid resetting nsMsgFolderFlags::Offline when initialising EWS folders from local store. r=#thunderbird-back-end-reviewers
Target Milestone: --- → 146 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/6eeb9a620a36
Avoid resetting nsMsgFolderFlags::Offline when initialising EWS folders from local store. r=jtracey

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: