Closed Bug 209860 Opened 21 years ago Closed 21 years ago

Downloading using Save link as (rightclick download link, select save link as) results in The Link Could Not Be Saved

Categories

(Toolkit :: Downloads API, defect)

x86
All
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: g.teunis, Assigned: bugzilla)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030618 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030618 Mozilla Firebird/0.6

Downloading files by using rightclick download link, select save link as is
broken. After selecting Save Link As results in no download, but a Save Link
message saying: "The link could not be saved. The webpage might have been
removed or has his name changed", always. Leftclicking will result in a proper
download! (so page/file location is valid!)

Reproducible: Always

Steps to Reproduce:
1. Rightclick download link (valid one)
2. Select Save Link As
3. Error message "The link could not be saved. The webpage might have been
removed or has his name changed"

Actual Results:  
Error message "The link could not be saved. The webpage might have been removed
or has his name changed"

Expected Results:  
Download should start and show file location dialog (where to save file)
Severity: major → normal
The 20030616 build worked, so this was broken in the last 2 days.
"Save Link As..." is a major and important function.

Bumping up severity.
Severity: normal → major
Attached file testcase
I can download acronym.src, but logo_ns40.gif fails.
Attachment #125997 - Attachment mime type: text/plain → text/html
With the same build, I'm hitting a slightly different problem: attempting to
save any image (save link as, save image as, save as while viewing standalone
image) fails silently.  I'm guessing it's the same bug.
Depends on: 205895
Attached patch proposed patchSplinter Review
JS Console shows the following message.

Error: mimeInfo.GetFileExtensions is not a function
Source File: chrome://browser/content/contentAreaUtils.js
Line: 530

This cause it is bug 205895. I made patch based on the change in Mozilla. It
seems that it is working well.
Comment on attachment 126011 [details] [diff] [review]
proposed patch

The patch working fine here too.
Blocks: 210039
I can't save images under Linux, too. OS -> All.
OS: Windows XP → All
Comment on attachment 126011 [details] [diff] [review]
proposed patch

port fix from bug 205895.
I checked and it works great.
Checking this in seems to low risk.
Patch by mal@mozilla.gr.jp
Attachment #126011 - Flags: review?(ben)
Comment on attachment 126011 [details] [diff] [review]
proposed patch

r=bryner, and checked in.
Attachment #126011 - Flags: review?(ben) → review+
.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
v. w/20030623
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: