Error while create issue filter query

2

Sertaç Anadollu
Added almost 3 years ago

Hello,

I have faced an error when creating query for issues. This is the log

Processing by IssuesController#index as HTML
Parameters: {"query_id"=>"6", "project_id"=>"ahtapot-live"}
Current user: suleyman (id=14)
Rendering issues/index.html.erb within layouts/base
Rendered queries/_filters.html.erb (5.5ms)
Rendered queries/_columns.html.erb (1.0ms)
Rendered queries/_query_form.html.erb (8.2ms)
Rendered issues/_list.html.erb (25.7ms)
Rendered issues/index.html.erb within layouts/base (36.0ms)
Completed 500 Internal Server Error in 62ms (ActiveRecord: 6.4ms)

ActionView::Template::Error (undefined method `products' for #<Issue:0x00007fc931dda8b8>
Did you mean? project):
33: <% end >
34: <tr id="issue-<
= issue.id >" class="hascontextmenu <= cycle('odd', 'even') > <= issue.css_classes > <= level > 0 ? "idnt idnt-#{level}" : nil >">
35: <td class="checkbox hide-when-print"><
= check_box_tag("ids[]", issue.id, false, :id => nil) ></td>
36: <
query.inline_columns.each do |column| >
37: <
= content_tag('td', column_content(column, issue), :class => column.css_classes) >
38: <
end >
39: <td class="buttons"><
= link_to_context_menu %></td>

app/models/query.rb:71:in `value_object'
app/helpers/queries_helper.rb:202:in `column_content'
plugins/redmine_contacts_helpdesk/lib/redmine_helpdesk/patches/queries_helper_patch.rb:50:in `column_content_with_helpdesk'
app/views/issues/_list.html.erb:36:in `block (3 levels) in app_views_issues_list_html_erb__967511094577759516_319880'
app/views/issues/_list.html.erb:35:in `each'
app/views/issues/_list.html.erb:35:in `block (2 levels) in app_views_issues_list_html_erb__967511094577759516_319880'
app/helpers/issues_helper.rb:41:in `block in grouped_issue_list'
app/helpers/queries_helper.rb:143:in `block in grouped_query_results'
app/helpers/queries_helper.rb:128:in `each'
app/helpers/queries_helper.rb:128:in `grouped_query_results'
app/helpers/issues_helper.rb:37:in `grouped_issue_list'
app/views/issues/_list.html.erb:21:in `block in app_views_issues_list_html_erb__967511094577759516_319880'
app/views/issues/_list.html.erb:4:in `_app_views_issues__list_html_erb__967511094577759516_319880'
app/views/issues/index.html.erb:19:in `_app_views_issues_index_html_erb__3056155717733622051_319760'
app/controllers/issues_controller.rb:52:in `block (2 levels) in index'
app/controllers/issues_controller.rb:47:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Answers (1)

-1

Dimitar Chervenakov
Added over 2 years ago

Hello Sertaç,

Further investigation is needed for this problem to be solved. Please contact us at and provide your system information (administration - information) there. And our support engineers will help you with the solution to this problem. Thanks.

    (1-1/1)