Closed danryan closed 12 years ago
merb : chef-server (api) : worker (port 4000) ~ Started request handling: Wed Dec 14 02:29:28 +0000 2011 merb : chef-server (api) : worker (port 4000) ~ Params: {"name"=>"foo", "format"=>nil, "action"=>"create", "controller"=>"roles"} merb : chef-server (api) : worker (port 4000) ~ undefined method `name' for nil:NilClass - (NoMethodError) /usr/share/chef-server-api/app/controllers/roles.rb:31:in `create' /usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `send' /usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `_call_action' /usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:289:in `_dispatch' /usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:252:in `_dispatch' /usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action' /usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:74:in `handle' /usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle' /usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call' /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call' /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch' /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process' /usr/lib/ruby/1.8/thin/connection.rb:57:in `process' /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data' /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine' /usr/lib/ruby/1.8/eventmachine.rb:240:in `run' /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start' /usr/lib/ruby/1.8/thin/server.rb:156:in `start' /usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server' /usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port' /usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start' /usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup' /usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize' /usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork' /usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize' /usr/lib/ruby/1.8/merb-core/server.rb:35:in `start' /usr/lib/ruby/1.8/merb-core.rb:170:in `start' /usr/sbin/chef-server:85 merb : chef-server (api) : worker (port 4000) ~ Params: {"name"=>"foo", "format"=>nil, "action"=>"create", "controller"=>"roles"}
Fixed during refactor.