Closed Bug 660962 Opened 14 years ago Closed 14 years ago

Save as web page, complete fails altogether if one element can't be saved

Categories

(SeaMonkey :: Download & File Handling, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 313683

People

(Reporter: info, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.2pre) Gecko/20110517 Firefox/4.0.2pre SeaMonkey/2.1.1pre Build Identifier: Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.2pre) Gecko/20110517 Firefox/4.0.2pre SeaMonkey/2.1.1pre I wanted to save my mindless Facebook yakking, so I chose File > Save As... Web Page, complete. Apparently some supporting FB file has a security certificate problem, and after viewing the certificate mumbo-jumbo, I get a Download Error alert. But this results in the entire save failing and all files saved so far disappearing. Reproducible: Always Steps to Reproduce: I'm getting the failure every time but it's almost certainly transient, so reproducing is going to be hard; I think you'll have to create an HTML file that refers to a resource on a server that has an invalid certificate. 1. Go to an https web page whose JS loads resources from a server with an invalid SSL certificate. 2. Choose File > Save As... Web Page, complete Actual Results: Download Manager begins download, then a security alert appears. The cert error is something roughly like (can't copy and paste the text from the alert, grrrrr): www2.sesamestats.com:443 uses an invalid security certificate. The certificate is only valid for the following names: e248.e.akamai.net , *.akmaihd.net (Error code: ssl_error_bad_cert_domain) ... The only option is [Cancel], and after that I get: Download Error: /path/to/diary/facebook_2011-05_save_files/ai_data/paneltracking could not be saved, because the source file could not be read. Try again later, or contact the server administrator. when I click OK, SeaMonkey deletes the main HTML file and all the supporting files it has already saved. And this behavior is the bug! Expected Results: SeaMonkey should let me know some supporting file can't be saved, but should not abort the file save of the "meat" of the complete web page. Or, give me a choice [Abort], [Retry], [Skip this file and continue save] A workaround is to copy the HTML file and xxx_files directory while the Download Error alert is up and before SeaMonkey deletes them. I couldn't see a reference to to the web site with cert problems in the HTML that was saved (www2.sesamestats.com), or in a Firebug network trace.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.