Project

General

Profile

Actions

Defect #747

closed

Uploadfile error ?!

Added by li wei over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
2008-02-28
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Errno::EINVAL in MessagesController#reply
Invalid argument - ./files/080228121105_图.ppt
RAILS_ROOT: ./script/../config/..

Application Trace | Framework Trace | Full Trace
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/models/attachment.rb:59:in `initialize'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/models/attachment.rb:59:in `open'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/models/attachment.rb:59:in `before_save'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/controllers/application.rb:154:in `attach_files'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/controllers/application.rb:152:in `each'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/controllers/application.rb:152:in `attach_files'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/app/controllers/messages_controller.rb:57:in `reply'
D:/InstantRails-2.0-win/rails_apps/redmine-0.6.3/vendor/rails/activerecord/lib/active_record/callbacks.rb:348:in `send'

Request
Parameters: {"commit"=>"提交", "reply"=>{"subject"=>"RE: 论坛附件功能测试,上传个大文件试一下。", "content"=>"s"}, "id"=>"7", "board_id"=>"3", "attachments"=>[#<File:C:/DOCUME~1/admin/LOCALS~1/Temp/CGI.5348.5>]}


Files

图.ppt (314 KB) 图.ppt li wei, 2008-02-28 05:11

Related issues

Is duplicate of Redmine - Defect #1089: attachement's name maybe invalid.Closed2008-04-23

Actions
Actions

Also available in: Atom PDF