Problems with redmine_context_menu_relations
Added by Luis Serrano Aranda about 13 years ago
When I try to watch the column relations in redmine 11.2.1, redmine returns this error:
NoMethodError in Issues#index
Showing vendor/plugins/redmine_default_columns_plus/app/views/issues/_list.rhtml where line #32 raised:
undefined method `formatted_relations' for #<ActionView::Base:0x90019b0>
Extracted source (around line #32):
29: <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) ></td>
30: <td class="id"><= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue ></td>
31: < query.columns.each do |column| >
32: <= content_tag 'td', column_content(column, issue), :class => column.name >
33: < end >
34: </tr>
35: < if @query.show_desc %>
Trace of template inclusion: vendor/plugins/redmine_default_columns_plus/app/views/issues/index.rhtml
RAILS_ROOT: /var/www/redmine
Application Trace | Framework Trace | Full Trace
/var/www/redmine/vendor/plugins/redmine_context_menu_relations/lib/context_menu_relations/patches/query_helper_patch.rb:15:in `column_content'
/var/www/redmine/vendor/plugins/redmine_default_columns_plus/app/views/issues/_list.rhtml:32
/var/www/redmine/vendor/plugins/redmine_default_columns_plus/app/views/issues/_list.rhtml:31:in `each'
/var/www/redmine/vendor/plugins/redmine_default_columns_plus/app/views/issues/_list.rhtml:31
/var/www/redmine/app/helpers/issues_helper.rb:27:in `issue_list'
/var/www/redmine/app/helpers/issues_helper.rb:23:in `each'
/var/www/redmine/app/helpers/issues_helper.rb:23:in `issue_list'
/var/www/redmine/app/controllers/issues_controller.rb:91
/var/www/redmine/app/controllers/issues_controller.rb:90:in `index'
Request
Parameters:
{"v"=>{"assigned_to_role"=>["3"],
"start_date"=>{"0"=>"",
"1"=>"",
"2"=>""},
"estimated_hours"=>[""],
"watcher_id"=>["me"],
"priority_id"=>["3"],
"created_on"=>{"0"=>"",
"1"=>"",
"2"=>""},
"fixed_version_id"=>["1"],
"assigned_to_id"=>["me"],
"subject"=>[""],
"updated_on"=>{"0"=>"",
"1"=>"",
"2"=>""},
"done_ratio"=>[""],
"tracker_id"=>["2"],
"due_date"=>{"0"=>"",
"1"=>"",
"2"=>""},
"status_id"=>["1"],
"author_id"=>["me"],
"like_state"=>["Si"],
"member_of_group"=>["4"]},
"op"=>{"assigned_to_role"=>"=",
"start_date"=>"t><",
"estimated_hours"=>"=",
"watcher_id"=>"=",
"priority_id"=>"=",
"created_on"=>"t><",
"fixed_version_id"=>"=",
"assigned_to_id"=>"=",
"subject"=>"~",
"updated_on"=>"t><",
"done_ratio"=>"=",
"tracker_id"=>"=",
"due_date"=>"t><",
"status_id"=>"o",
"author_id"=>"=",
"like_state"=>"=",
"member_of_group"=>"="},
"group_by"=>"",
"project_id"=>"red",
"set_filter"=>"1",
"c"=>["project",
"status",
"subject",
"author",
"assigned_to",
"fixed_version",
"start_date",
"due_date",
"estimated_hours",
"done_ratio",
"formatted_relations"],
"f"=>["status_id",
""]}
Show session dump
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
Could you helppme please ?
Thanks
Replies (1)
RE: Problems with redmine_context_menu_relations - Added by Luis Serrano Aranda about 13 years ago
Could you help me please ?