Address book import module can't support "supportsMultiple" property *and* let choose the location

UNCONFIRMED
Unassigned

Status

MailNews Core
Import
UNCONFIRMED
11 years ago
8 years ago

People

(Reporter: snotling, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1.2) Gecko/20070208 Iceweasel/2.0.0.2 (Debian-2.0.0.2+dfsg-1)
Build Identifier: Thunderbird 2.0

Due to a bug in the import dialog code, it's not currently possible to have an address book import module with a "supportsMultiple" property and that lets the user choose the location (i.e. autoFind = false).
See <http://lxr.mozilla.org/mozilla1.8/source/mailnews/import/resources/content/importDialog.js#868> : in case of "file" variable represents a directory, "file.fileSize" returns 0, which is considered here as an error...

Reproducible: Always

Updated

9 years ago
Assignee: mscott → nobody

Updated

8 years ago
Component: General → Import
Product: Thunderbird → MailNews Core
QA Contact: general → import
You need to log in before you can comment on or make changes to this bug.