Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Process multipart form

#2

when I post form with enctype="multipart/form-data", I recieve an exeption in my production.log:

/!\ FAILSAFE /!\ Thu Nov 26 16:03:00 +0300 2009 Status: 500 Internal Server Error wrong number of arguments (2 for 1)

/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/utils.rb:314:in `read'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/utils.rb:314:in `parse_multipart'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/request.rb:141:in `POST'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/../rack/adapter/rails.rb:73:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/deflater.rb:16:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/request_handler.rb:37:in `process'

Reported by Alexander Stanko · November 26th, 2009 @ 06:57 PM

State: resolved
Milestone: none
Assigned to: Dharmarth Shah Dharmarth Shah

Activity

  1. Dharmarth Shah
    Dharmarth Shah
    • Assigned user set to Dharmarth Shah
    • State changed from new to resolved

    Thank you for trying out WebROaR and reporting this issue.

    The server was not creating the rack.input stream object in the correct way. It has now been fixed and committed to the repository.

    November 27th, 2009 @ 04:15 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.