bthesorceror/redmine_todo_list — Issue #2: ActionView::TemplateError (undefined method `rss_key' for nil:NilClass) on line                                                                              #13 of vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:
Author: shahul001
Created: 2012-02-08 08:58:37+00:00
State: open

Hi
I have migrated redmine_todo_list plugin sucessfully to my redmine-1.3.0but adding tasks is working but throwing an error which I click show feed.

Please help me its urgent ,my every work in the redmine is stopped due to these error

ERROR LOG IS:

ActionView::TemplateError (undefined method `rss_key' for nil:NilClass) on line #13 of vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:
10: xml.title "Mark Task As Complete"
11: xml.description task.body
12: xml.pubDate task.created_at.to_s(:rfc822)
13: xml.link url_for(:action => :destroy, :id => task.id, :key => @curre nt_user.rss_key, :only_path => false)
14: xml.guid task.id
15: end
16: end

vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:13:in `_r un_builder_vendor47plugins47redmine_todo_list47app47views47tasks47feed46html46bu ilder'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:9:in `_ru n_builder_vendor47plugins47redmine_todo_list47app47views47tasks47feed46html46bui lder'
vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:8:in `_ru n_builder_vendor47plugins47redmine_todo_list47app47views47tasks47feed46html46bui lder'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:3:in `_ru n_builder_vendor47plugins47redmine_todo_list47app47views47tasks47feed46html46bui lder'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
vendor/plugins/redmine_todo_list/app/views/tasks/feed.html.builder:2:in `_ru n_builder_vendor47plugins47redmine_todo_list47app47views47tasks47feed46html46bui lder'
vendor/plugins/redmine_todo_list/app/controllers/tasks_controller.rb:36:in ` feed'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /Redmine-test-server/redmine-1.3.0/public/500.html (500 Internal Serve r Error)