Project

General

Profile

Actions

Defect #1150

closed

Cannot upload any file due to NoMethodError

Added by Andrea Colleoni about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
2008-04-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

In any of the sections where it is possible to attach a file I get the following error; the log says:

Processing ProjectsController#add_file (for 10.0.0.51 at 2008-04-30 16:59:24) [POST]
Session ID: 8c3a0afca9fb80fa47fe03e5bf72e6da
Parameters: {"commit"=>"Aggiungi", "action"=>"add_file", "id"=>"proj", "controller"=>"projects", "version_id"=>"16", "attachments"=>{"1"=>{"description"=>"Kick-off", "file"=>#<File:C:/DOCUME~1/ADMINI~1/IMPOST~1/Temp/CGI.1280.1>}}}

NoMethodError (undefined method `description=' for #<Attachment:0x6f5692c>):
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1860:in `method_missing'
.....
I'm now using the 1388 revision, but I noticed the failure since about revision 1300.

Actions

Also available in: Atom PDF