redmine_tags icon indicating copy to clipboard operation
redmine_tags copied to clipboard

Problem with my Page

Open ebartlomiej89 opened this issue 6 years ago • 6 comments

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

ebartlomiej89 avatar Mar 06 '18 08:03 ebartlomiej89

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):
...

DanielBoettner avatar Mar 06 '18 08:03 DanielBoettner

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)

yzzy avatar Mar 06 '18 09:03 yzzy

Just realized I took the tags plugin download from redmineup. I can't really tell if there is an association between this repo and redmineup.

Anyhow, while updating the https://www.redmineup.com/pages/plugins version. I ran into the above error.

Afterwards I just cloned this repo and everything worked fine.

Am 06.03.2018 10:57 vorm. schrieb "yzzy" [email protected]:

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)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ixti/redmine_tags/issues/193#issuecomment-370726935, or mute the thread https://github.com/notifications/unsubscribe-auth/AU988Wi4oH0mzqoRYW4V9xCHsWg-2SI9ks5tbl2PgaJpZM4SeRUW .

DanielBoettner avatar Mar 07 '18 09:03 DanielBoettner

@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?

marius-balteanu avatar Mar 07 '18 11:03 marius-balteanu

@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'

yoshinorin avatar Nov 15 '18 03:11 yoshinorin

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

mauriciomartini avatar Jul 05 '21 11:07 mauriciomartini