Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
3rdRail
ATF Regressions
Code Completion
Dependency Viewer
DLTK Regressions
Docs
Installer
Localization
Rails Commander
Rails Explorer View
Rails Navigation
Refactoring
Ruby & Rails repositories
Ruby and Rails Consoles
Ruby and Rails Editors
Ruby and Rails Templates
Sanctuary, SKUification, Licencing
Script Explorer View & Wizards
Server Management
Team Support
ThirdParties
WST + Eclipse Core
Blackfish SQL
C#Builder
C++BuilderX
CodeCentral
Conference
DBArtisan
Delphi for PHP
Delphi Prism
Delphi-BCB
EDN
InterBase
JBuilder
JBuilder 2007
Kylix
Optimizeit
QualityCentral
Test project
You are not logged in.
Help
Print
Public Report
Report From:
3rdRail
[ Add a report in this area ]
Report #:
60874
Status:
Open
Mozilla Browser can't upload file
Project:
3rdRail
Build #:
v20080311_0801
Version:
unspecifie
Submitted By:
Luke Fan
Report Type:
Basic functionality failure
Date Reported:
4/14/2008 12:24:00 AM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
5805
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
1
Description
I create a project and want to upload some files.
But the server stoped when I upload something.
I can do it by IE7 or Firefox, but can't by Mozilla Browser with 3rdRail.
Steps to Reproduce:
create a new project.
create a new controller.
the follow is the controller's source:
class PhotoController < ApplicationController
def index
end
def upload
end
def get_photo
send_file "#{RAILS_ROOT}/public/images/1.jpg", :type => 'image/jpeg', :disposition => 'inline', :filename => 'luke.jpg'
end
def post_pic
File.open("#{RAILS_ROOT}/public/images/1.jpg", "wb") {|f| f.write(params[:pic].read)}
redirect_to :action=> :get_photo
end
end
the follow is upload.html.erb:
<% form_tag({:action => "post_pic" }, { :multipart => true}) do %>
<%= file_field_tag :pic %>
<%= submit_tag %>
<% end %>
script/server
open "http://localhost:3000/photo/upload" by the Mozilla Browser, load a file and click submit.
Workarounds
Vista
Ruby 1.86
Rails 2.02
3rdRail 1.1
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us