Open Bug 379711 Opened 17 years ago Updated 2 years ago

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

Categories

(MailNews Core :: Import, defect)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: damiano.albani, Unassigned)

Details

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
Assignee: mscott → nobody
Component: General → Import
Product: Thunderbird → MailNews Core
QA Contact: general → import
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.