Closed Bug 495291 Opened 12 years ago Closed 12 years ago

File Upload broken (SeaMonkey part)

Categories

(SeaMonkey :: Download & File Handling, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0b1

People

(Reporter: neil, Assigned: neil)

References

Details

(Keywords: regression)

Attachments

(1 file)

Since bug 412822 file upload is broken because it expects an nsIFileURL object.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #380219 - Flags: review?(timeless)
Attachment #380219 - Flags: review?(timeless) → review+
Pushed changeset fbd1bea81d2b to comm-central.

Note that Upload File is probably still broken, but for other reasons.
Version: unspecified → Trunk
Comment on attachment 380219 [details] [diff] [review]
Proposed patch
[Checkin: Comment 2]

>-  var leafName = fileURL.file.leafName;
>+  var leafName = fileURL.QueryInterface(CI.nsIFileURL).file.leafName;

Fwiw, you may have wanted to update the previous comment too:

2434   // generate the target URI.  we use fileURL.file.leafName to get the
Is this connected with bug 467524?

Could you either describe specifically what is still broken or close this bug and file a separate one for the remaining issue(s)?
File Upload was broken for two reasons (both mentioned in bug 467524, and one fixed here) and I'll leave bug 457524 open for the other half of the bug.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #380219 - Attachment description: Proposed patch → Proposed patch [Checkin: Comment 2]
Target Milestone: --- → seamonkey2.0b1
Summary: File Upload broken → File Upload broken (SeaMonkey part)
You need to log in before you can comment on or make changes to this bug.