Open Bug 491102 Opened 15 years ago Updated 2 years ago

Download fails silently if default save location does not exist

Categories

(Toolkit :: Downloads API, defect)

x86
Windows Vista
defect

Tracking

()

UNCONFIRMED

People

(Reporter: patricker, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: platform-parity)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

A default save location is set, in my case an external usb hard drive, but if that location is not currently accessible, such as the hard drive is not plugged in, then when I go to download a file and I click the Save button on the prompt nothing will happen, the process just ends.  As soon as I reconnect the device and repeat the above steps the download proceeds as it should.

Reproducible: Always

Steps to Reproduce:
1.Specify your default save location as an external media (USB HD/Thumb Drive)
2.Attempt to download a file. Confirm the save dialog box.
3.At this point nothing should happen.  The download will not occur.
4.Plug the device back in, confirm the drive letter remained the same, and try again, all should be well now.
Actual Results:  
First the file will not download, and no error is given.
Second the file downloads as it should.

Expected Results:  
There should be an error message shown the first time to tell me the destination is not available. AND/OR I should be prompted to select a save location.
DUP of 429827? See also Bug 443006.
Can you reproduce your problem with Fx latest-trunk?
(In reply to comment #1)
> DUP of 429827? See also Bug 443006.
> Can you reproduce your problem with Fx latest-trunk?

The issue is almost a duplicate of 429827, but not quite.  In that one the file downloads, and shows as downloading in the download manager.  In my case that does not happen.  There is no evidence that file download ever started, except for the Save/Cancel window being shown, but nothing after that.

443006 does not appear to be related from what I can tell as I can save pages just fine while experiencing this issue.

How would I go about testing this with Fx latest-trunk?  Something newer then 3.0.10?

--Thanks
> How would I go about testing this with Fx latest-trunk?

Download win32.zip build from next site. You can test by UNZIP only.
Test with new profile, to avoid corruption of your daily use profie.
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
See http://www.mozilla.org/developer/#builds for "Nightly Builds".
If Seamonkey 2.1a1pre (1.9.3a1pre) 20091220 on Ubuntu 9.10 can't find the external drive it falls back to the /home/<usr>/Download directory. It places an entry in the DL Manager and downloads the file. This is WONTFIX.

Seamonkey 2.0.2pre (1.9.1.7pre) 20091216 on Win XP shows in the Error Console:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIDownloadManager.userDownloadsDirectory]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://communicator/content/contentAreaUtils.js :: getTargetFile :: line 576"  data: no] This is bad.

Added keyword pp for platform parity.
Depends on: 429827
Keywords: pp
Summary: Download does not start if default save location does not exist → Download fails silently if default save location does not exist
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.