Closed
Bug 408300
Opened 17 years ago
Closed 9 years ago
Download error when trying to save a local file over itself
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: regression)
To reproduce the bug:
- Visit http://www.google.nl/firefox
- Do File->Save Page As... and save the file
- Visit the resulting file on your computer
- Do File->Save Page As... and save the file again
Expected result:
File saved successfully again.
Actual result:
Download error, I get an alert with this text instead:
"
The download cannot be saved because an unknown error occurred.
Please try again.
"
Comment 1•17 years ago
|
||
I see this too with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2007121304 Minefield/3.0b3pre; not sure when this regressed.
(It's going to take me a while to find out, but according to tomcat's past test, this last passed on 10/28/2007: https://litmus.mozilla.org/show_test.cgi?id=4718.)
Flags: blocking-firefox3?
OS: Windows XP → All
Hardware: PC → All
Reporter | ||
Comment 2•17 years ago
|
||
I get a regression range of between 2007-10-01 and 2007-10-02:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-10-01+04&maxdate=2007-10-02+09&cvsroot=%2Fcvsroot
There is a whole bunch of download manager related check-ins.
Regression from bug 393821? Or bug 382388?
Comment 3•17 years ago
|
||
Thanks for the regression window. It's bug 382388.
WebBrowserPersist is giving us a status code 0x804B0002 (2152398850) NS_BINDING_ABORTED.
This only shows up if you save the local file to the same location. If you save a local file to a different file (for web pages or single files), there's no problem.
I guess WBP doesn't like overwriting the file it's reading..
WBP issue? dlmgr issue? dlmgr work around? Ignore some error codes?
Comment 4•17 years ago
|
||
Not blocking as this is pretty edge-case-y ...
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
Comment 5•9 years ago
|
||
User Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID 20160407164938
If I follow the steps from the testcase using any page, I get a confirmation prompt informing me that the page already exist and asks if I want to replace it, which seems to be the expected behavior. Considering this I will close the bug as WFM.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•