Send in background silently doesn't work if Outbox folder has corrupt .msf file

RESOLVED FIXED in Thunderbird 8.0

Status

MailNews Core
Backend
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: standard8, Assigned: Bienvenu)

Tracking

(Blocks: 1 bug)

unspecified
Thunderbird 8.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
I happened to have something which corrupted my profile recently. As a result I think the .msf files were mostly zero in size.

Hence my outbox folder was corrupted.

I'd tried sending a couple of messages, one of those was to myself on a different account, and the compose window had closed fine. However, the messages didn't get sent - it wasn't until it I clicked on the outbox and it rebuilt its index that it showed two new messages, at which point I was able to use send unsent messages to send them.
(Assignee)

Comment 1

7 years ago
Created attachment 551125 [details] [diff] [review]
proposed fix

ignore the WeAeOffline part of the diff - that's for bug 671673.

This patch simply reparses the folder if we get an error opening the db, for both the send in background case, and the HasUnsentMessages case. In the former, we do the send when finished reparsing.
Assignee: nobody → dbienvenu
Attachment #551125 - Flags: review?(mbanner)
(Reporter)

Updated

7 years ago
Attachment #551125 - Flags: review?(mbanner) → review+
(Reporter)

Comment 2

7 years ago
Checked in: http://hg.mozilla.org/comm-central/rev/de5786ac0fd7
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 8.0
You need to log in before you can comment on or make changes to this bug.