Open Bug 429872 Opened 16 years ago Updated 2 years ago

After migration from OE: Contents of imported mail folders are shown once and then never again. Exception produced!

Categories

(MailNews Core :: Backend, defect)

1.8 Branch
x86
Windows XP
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: fontipex, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: 2.0.0.12 (20080213)

The following exception appears on the error console:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80550006 [nsIMsgFolder.getMsgDatabase]"  nsresult: "0x80550006 (<unknown>)" 
location: "JS frame :: chrome://messenger/content/mailWidgets.xml ::
parseFolder :: line 2061"  data: no]

Exactly the same exception is described in Bug 402596. But the status of this bug remained "incomplete", and it seems that it was only marked as "resolved" because the reporter said that he had found some kind of workaround. But this workaround is not working in my case, unfortunately.


Reproducible: Always

Steps to Reproduce:
I want to migrate from Outlook Express to Thunderbird.

1. I import my messages from Outlook Express: 181 dbx-files, which are about 1 GByte, some mail folders are subfolders of others. Of course I have the newest version of OE, which is 6.00.2900.2180 (xpsp_sp2_rtm.04083-2158). and I have never had a prob with my folders or messages at OE, so far. -  Import procedure is finished successfully.

2. In Thunderbird then, I click on one of the newly created mail folders. All messages in it appear, like they should. Well, messages which were marked as "read" in OE don't have this flag set any more, but this is not the point.

3. I click on another folder, and then click on the first mail folder again.
Actual Results:  
When I click on a any of the newly created mail folders for the _second_ time, all messages have disappeared. or alternatively all messages have disappeared except for one or two (or three) messages.

I can watch the same behaviour, each time I click on a newly created mail folder for the second time: In one folder, there are only 3 of 74 messages left. In another folder there are only 2 of about 50 messages left. And there are also folders which are totally empty, when i click on them for the second time, although there have been some messages shortly before.

Each time I click on one of the newly created folders for the second time, the exception is thrown anew.

Expected Results:  
If I only click on another folder and switch back again at once, then of course all messages should be still there!

I tried "folder properties" >> "Rebuild index". But this did not help. 

The behaviour is reproducable. I retried the import procedure several times...

In the moment, when I click on one of the crucial mailfolders for the second time, the corresponding mbox file changes (I can see this by watching the time stamp). And if I compare the files by using some diff utility, the only two things which have changed are:

- the header field "X-Mozilla-Status" (from 0000 to 0008 at each message,   or from 0000 to 0018). Each message in an mbox file has a changed X-Mozilla-Status value then...) 

- And there also exist _some_ messages in the changed mbox files, at which the header field "X-Mozilla-Status2" has changed (from 00000000 to 1040000, for example...)

I don't know if all that is of importance. However, all messges still exist in the mbox files. But they are not displayed any more.
Version: unspecified → 2.0
Component: Mail Window Front End → Backend
Product: Thunderbird → MailNews Core
QA Contact: front-end → backend
Version: 2.0 → 1.8 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.