Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Problem with my Page #193

Open
ebartlomiej89 opened this issue Mar 6, 2018 · 6 comments
Open

Problem with my Page #193

ebartlomiej89 opened this issue Mar 6, 2018 · 6 comments
Assignees

Comments

@ebartlomiej89
Copy link

When I add to my page column Tags and Tags exists i receive internal error 500.

@DanielBoettner
Copy link

DanielBoettner commented Mar 6, 2018

Same problem here.

Processing by MyController#page as HTML
  Current user: ... (id=...)
  Rendered queries/_columns.html.erb (2.7ms)
  Rendered issues/_list.html.erb (959.3ms)
  Rendered my/blocks/_issues.erb (969.0ms)
  Rendered my/page.html.erb within layouts/base (1071.4ms)
Completed 500 Internal Server Error in 1083ms (ActiveRecord: 46.5ms)

ActionView::Template::Error (undefined method `render_issue_tag_link' for #<#<Class:0x007f8fc716a7e8>:0x007f8fc1a4e6a8>
Did you mean?  render_issue_relations
               render_issue_tooltip):
...

@yzzy
Copy link
Contributor

yzzy commented Mar 6, 2018

Which versions of Redmine and plugin do you use? Are there another plugins installed?
I can't confirm this problem on my installation (Redmine 3.4.2.stable, redmine_tags master branch)

@DanielBoettner
Copy link

DanielBoettner commented Mar 7, 2018 via email

@marius-balteanu
Copy link
Collaborator

@DanielBoettner, thanks for your feedback. There is no association between this repo and redmineup.

@ebartlomiej89, can you post please more details about your redmine tags plugin?

@yoshinorin
Copy link

yoshinorin commented Nov 15, 2018

@marius-balteanu
I face same problem. I took a error logs.

Environment

  • Redmine version 3.4.6 stable
  • redmine_tags version 3.2.2

Detail

In redmine 3.4 can set custom query on my page.
Internal error 500 occurred in my page, if included tag column in custom query and use it.

Logs

tarted GET "/my/page" for xxx.xxx.xxx.xxx at 2018-11-15 11:32:31 +0900
Processing by MyController#page as HTML
  Current user: exampleUser (id=9999)
  Rendered my/blocks/_issue_query_selection.html.erb (33.7ms)
  Rendered queries/_columns.html.erb (5.2ms)
  Rendered issues/_list.html.erb (146.8ms)
  Rendered my/blocks/_issues.erb (178.4ms)
  Rendered my/page.html.erb within layouts/base (308.8ms)
Completed 500 Internal Server Error in 343ms (ActiveRecord: 42.7ms)

ActionView::Template::Error (undefined method `render_tag_link' for #<#<Class:0x0055d46b69e228>:0x0055d46b6a72b0>
Did you mean?  render_tabs):
    31:   <% end %>
    32:   <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
    33:     <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
    34:     <% query.inline_columns.each do |column| %>
    35:     <%= content_tag('td', column_content(column, issue), :class => column.css_classes) %>
    36:     <% end %>
    37:   </tr>
  plugins/redmine_tags/lib/redmine_tags/patches/queries_helper_patch.rb:20:in `block in column_content_with_redmine_tags'
  plugins/redmine_tags/lib/redmine_tags/patches/queries_helper_patch.rb:20:in `column_content_with_redmine_tags'
  app/views/issues/_list.html.erb:34:in `block (3 levels) in _app_views_issues__list_html_erb___2076706684790689779_47185397992760'
  app/views/issues/_list.html.erb:33:in `each'
  app/views/issues/_list.html.erb:33:in `block (2 levels) in _app_views_issues__list_html_erb___2076706684790689779_47185397992760'
  app/helpers/issues_helper.rb:41:in `block in grouped_issue_list'
  app/helpers/queries_helper.rb:140:in `block in grouped_query_results'
  app/helpers/queries_helper.rb:125:in `each'
  app/helpers/queries_helper.rb:125:in `grouped_query_results'
  app/helpers/issues_helper.rb:37:in `grouped_issue_list'
  app/views/issues/_list.html.erb:19:in `block in _app_views_issues__list_html_erb___2076706684790689779_47185397992760'
  app/views/issues/_list.html.erb:4:in `_app_views_issues__list_html_erb___2076706684790689779_47185397992760'
  app/views/my/blocks/_issues.erb:24:in `_app_views_my_blocks__issues_erb___124339714932179610_47185398532280'
  app/helpers/my_helper.rb:133:in `render_issuequery_block'
  app/helpers/my_helper.rb:64:in `render_block_content'
  app/helpers/my_helper.rb:35:in `render_block'
  app/helpers/my_helper.rb:27:in `block in render_blocks'
  app/helpers/my_helper.rb:26:in `each'
  app/helpers/my_helper.rb:26:in `render_blocks'
  app/views/my/page.html.erb:13:in `block in _app_views_my_page_html_erb___1787353760788274762_47185411840160'
  app/views/my/page.html.erb:11:in `each'
  app/views/my/page.html.erb:11:in `_app_views_my_page_html_erb___1787353760788274762_47185411840160'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

@mauriciomartini
Copy link

Good morning, I have this same problem, even updating to the latest version of the plugin. My version of redmine is 4.1.1.stable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants