Assertion failure when you open an IMAP MSF file which doesn't exist

VERIFIED FIXED in M11

Status

P3
normal
VERIFIED FIXED
19 years ago
10 years ago

People

(Reporter: phil, Assigned: Bienvenu)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
When you launch 5.0 for the first time and get mail, you get an assertion
failure since we don't have a summary file for the inbox. Seems like this ought
to be a legal and non-surprising thing, at some level.
(Assignee)

Comment 1

19 years ago
POP or IMAP?
(Reporter)

Comment 2

19 years ago
I've seen it on IMAP. Can't speak for POP.

Comment 3

19 years ago
This bug was filed on pop in particular. But it also happens for imap.

If (without having any summary files), you select the server (and not the
folder) and then hit get new mail, we asssert because we try to open the db and
we have no summary file.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M11
(Assignee)

Comment 4

19 years ago
I think we really need to create an inbox folder if one doesn't exist at
startup, at least for imap, for reasons other than this bug. I'm going to go see
exactly how 4.5 does this.

Comment 5

19 years ago
But David, I think this bug is just as much because we don't have a .msf file as
it is because we don't have a folder. So that won't fix the problem will it?

People seeing this bug can see it after they just migrated a profile for pop. So
your inbox is there. But you hit get new mail before loading the inbox and
building a .msf and you assert.

Although I agree for imap, we should create the folder right away. I just wonder
if that will fix all our problems.
(Assignee)

Comment 6

19 years ago
Yes, but I would create an msf file when I created the folder :-)
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Summary: Assertion failure when you open an MSF file which doesn't exist → Assertion failure when you open an IMAP MSF file which doesn't exist
(Assignee)

Comment 7

19 years ago
fixed by always creating imap inbox.

Comment 8

19 years ago
David does this fix pop too? That's where this bug originally came from....
(Assignee)

Comment 9

19 years ago
No, it only fixes IMAP. Phil filed it on IMAP. I thought you meant there was a
separate bug filed on POP. I changed the summary to reflect the IMAP nature of
what I fixed...

Updated

19 years ago
QA Contact: lchiang → huang

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 11

19 years ago
Passed by retest on the 10-08-12-M11 commercial build on all the Win98, WinNT,
Mac and Linux platforms for the IMAP account:

There is no assertion failure anymore even there's no summary file for the
inbox.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.