Closed Bug 266027 Opened 20 years ago Closed 20 years ago

Unable to Import data from Netscape 4.x

Categories

(Thunderbird :: Migration, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.9

People

(Reporter: mscott, Assigned: mscott)

References

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

In Thunderbird, if you do Tools / Import / Mail Settings / Communicator 4.x, the
dialog just hangs and we fail to import your 4.x mail data.

This is because the mailnews import module uses the old profile service to
generate a list of 4.x profile sources that can be migrated. This new code isn't
available in the new profile APIs that thunderbird uses so we fail to get
nsIProfileInternal and we failt to do anything useful.

cc'ing Benjamin in case he has ideas on how to fix this too.

Here's the line in question that fails:
http://lxr.mozilla.org/seamonkey/source/mailnews/import/comm4x/src/nsComm4xProfile.cpp#73
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.9
Attached patch the fixSplinter Review
Comment on attachment 163373 [details] [diff] [review]
the fix

Thanks for the tip Benjamin. That helped.

David, this just copies and pastes some code from the old profile manager (I'm
sure you can guess which parts came from that) and from the new migration code
which knows how to do some of this stuff as well).

I could have #ifdef'ed this MOZ_THUNDERBIRD and left the old profile code alone
for the suite but I thought it was better to not fork the code and just have
both of us manually look for old 4.x profiles.
Attachment #163373 - Flags: superreview?(bienvenu)
Attachment #163373 - Flags: superreview?(bienvenu) → superreview+
Keywords: fixed-aviary1.0
fixed on the trunk now too.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I bet I only fixed this for the settings case and it's still there for address
book or mail folders!
*** Bug 253527 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: