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)

defect
Not set
normal

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. "
Keywords: qawanted
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
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?
Blocks: 382388
Keywords: qawanted
Summary: Download error when trying to save a local file → Download error when trying to save a local file over itself
Not blocking as this is pretty edge-case-y ...
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Product: Firefox → Toolkit
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.