Closed Bug 1984550 Opened 7 months ago Closed 6 months ago

Thunderbird profile import fails far too often, trying to import from bad sources?

Categories

(MailNews Core :: Import, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
144 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(2 files)

Looking at the telemetry for importing, I can see that the Thunderbird profile import fails more than half of the time. I suspect that one of the reasons for these reported failures is attempts to import from directories/zip files that don't contain a Thunderbird profile. There's no checking, for example, that the prefs.js file exists before trying to read it – so that would a recorded failure. Without that file the importer can only attempt to import mail messages, and there's not much checking there either. In this bug I'm going to implement a simple check on the selected import source, and display a message to the user instead of attempting and failing to import bad sources.

There's no reason for these tests to remain where they are. They don't require any of the helper
files associated with mail/test/browser.

Target Milestone: --- → 144 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/dcfbfc940175
Move import mochitests to mailnews/import. r=aleca
https://hg.mozilla.org/comm-central/rev/e35cba6a5df7
Prevent attempting to import Thunderbird profiles from bad sources. r=aleca

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

Attachment

General

Created:
Updated:
Size: