I just had a error 500, server error. I'm running 2.1 rc1

Here is what I did.

I clicked the complete check box on an action.
Edited the action and unchecked the completed check box.
The action seemed to loose its dependancy.
Went to the project list and clicked on the project name that the action should be in.
Got the error. I can no longer display this project's page.

Here is the error log



Processing ProjectsController#show (for 192.168.200.3 at 2012-04-12 17:37:46) [GET]
  Parameters: {"id"=>"3"}
Rendering template within layouts/standard
Rendering projects/show

ActionView::TemplateError (undefined method `name' for nil:NilClass) on line #35 of app/views/todos/_todo.html.erb: 32: <%= image_tag_for_recurring_todo(todo) if todo.from_recurring_todo? %>
33:       <%= tag_list(todo) %>
34:       <%= deferred_due_date(todo) %>
35: <%= project_and_context_links( todo, parent_container_type, :suppress_context => suppress_context, :suppress_project => suppress_project ) %>
36:       <%= collapsed_notes_image(todo) unless todo.notes.blank? %>
37: <%= collapsed_successors_image(todo) if todo.has_pending_successors %>
38:     </div>

    app/helpers/application_helper.rb:116:in `link_to_context'
    app/helpers/application_helper.rb:136:in `item_link_to_context'
    app/helpers/todos_helper.rb:163:in `project_and_context_links'
    app/views/todos/_todo.html.erb:35
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:306:in `with_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:30:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:20:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:30:in `benchmark' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:19:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ template.rb:205:in `render_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:44:in `render_partial' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ partials.rb:222:in `render_partial_collection' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ named_scope.rb:114:in `map' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ named_scope.rb:114:in `__send__' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ named_scope.rb:114:in `map' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ partials.rb:216:in `render_partial_collection' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ partials.rb:182:in `render_partial' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:267:in `render' app/views/todos/_deferred.rhtml:15:in ` _run_rhtml_app47views47todos47_deferred46rhtml_locals_append_descriptor_collapsible_deferred_object_parent_container_type_pending ' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:306:in `with_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:30:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:20:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:30:in `benchmark' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:19:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ template.rb:205:in `render_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable_partial.rb:44:in `render_partial' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ partials.rb:184:in `render_partial' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:267:in `render'
    app/views/projects/show.html.erb:7
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:34:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:306:in `with_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ renderable.rb:30:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ template.rb:205:in `render_template' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:265:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:348:in `_render_with_layout' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/action_view/ base.rb:262:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:1252:in `render_for_file' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:942:in `render_without_benchmark' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:51:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:51:in `render' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:135:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:135:in `custom' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:179:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:179:in `respond' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:173:in `each' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:173:in `respond' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/mime_responds.rb:107:in `respond_to'
    app/controllers/projects_controller.rb:122:in `show'
vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:1333:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:1333:in `perform_action_without_filters' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/filters.rb:617:in `call_filters' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/filters.rb:610:in `perform_action_without_benchmark' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/benchmarking.rb:68:in `perform_action_without_rescue' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/rescue.rb:160:in `perform_action_without_flash' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/flash.rb:151:in `perform_action' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:532:in `send' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:532:in `process_without_filters' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/filters.rb:606:in `process' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:391:in `process' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/base.rb:386:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/routing/route_set.rb:438:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/dispatcher.rb:87:in `dispatch' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/dispatcher.rb:121:in `_call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/string_coercion.rb:25:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/string_coercion.rb:25:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/params_parser.rb:15:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/session/abstract_store.rb:177:in `call' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ query_cache.rb:29:in `call' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ query_cache.rb:9:in `cache' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ query_cache.rb:28:in `call' vendor/cache/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/ connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/failsafe.rb:26:in `call' vendor/cache/ruby/1.8/gems/actionpack-2.3.14/lib/ action_controller/dispatcher.rb:106:in `call' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb: 207:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 418:in `start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 358:in `handle_spawn_application'
    /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 354:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb: 213:in `start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb: 126:in `lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb: 80:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb: 79:in `synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    /usr/lib/phusion_passenger/passenger-spawn-server:61

Rendering /opt/tracks/public/500.html (500 Internal Server Error)


Processing ProjectsController#index (for 192.168.200.3 at 2012-04-12 17:37:48) [GET]
Rendering template within layouts/standard
Rendering projects/index
Completed in 166ms (View: 152, DB: 2) | 200 OK [http://192.168.200.227/tracks/projects ]

_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@lists.rousette.org.uk
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to