Check Pivot Table page makes RedmineUP Tags plugin error

-1

Chris Hsiang
Added about 5 years ago

Version
  • Redmine 4.0.4.stable.18405
  • Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
  • Rails version 5.2.3
  • redmine_pivot_table 0.0.7
  • redmineup_tags 2.0.8

Error Msg in production.log

Completed 302 Found in 71ms (ActiveRecord: 3.2ms)
  Rendered queries/_filters.html.erb (6.1ms)
  Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (0.5ms)
  Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.3ms)
  Rendered plugins/redmineup_tags/app/views/issues/_tags_sidebar.html.erb (104.5ms)
  Rendered issues/_sidebar.html.erb (116.6ms)
  Rendered plugins/redmine_pivot_table/app/views/pivottables/index.html.erb within layouts/base (696.8ms)
Completed 500 Internal Server Error in 747ms (ActiveRecord: 64.0ms)

ActionView::Template::Error (undefined local variable or method `sidebar_tags' for #<#<Class:0x00007fea05af2c78>:0x00007fea05
af08b0>
Did you mean?  sidebar_queries):
    1: <% unless sidebar_tags.empty? -%>
    2: <div class="sidebar-tags">
    3:   <h3><%= l(:tags) %></h3>
    4:   <%= render_sidebar_tags %>

plugins/redmineup_tags/app/views/issues/_tags_sidebar.html.erb:1:in `_plugins_redmineup_tags_app_views_issues__tags_sidebar_h
tml_erb___1523720742499668345_70321539432100'
lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
lib/redmine/hook/view_listener.rb:57:in `map'
lib/redmine/hook/view_listener.rb:57:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:96:in `call_hook'
app/views/issues/_sidebar.html.erb:15:in `_app_views_issues__sidebar_html_erb__230168933574176037_70321539572960'
plugins/redmine_pivot_table/app/views/pivottables/index.html.erb:273:in `block in _plugins_redmine_pivot_table_app_views_pivo
ttables_index_html_erb__1791658110813559135_70321547221280'
plugins/redmine_pivot_table/app/views/pivottables/index.html.erb:272:in `_plugins_redmine_pivot_table_app_views_pivottables_i
ndex_html_erb__1791658110813559135_70321547221280'

Dimitar Chervenakov about 5 years

Hi. Thanks for the provided logs. It seems there is a conflict with the other third-party plugin installed ---> redmine_pivot_table. Could you please try to temporarily remove it and check if the problem will still appear afterward?

Chris Hsiang about 5 years

without redmine_pivot_table.... just redmineup tags plugins, everything works fine

Dimitar Chervenakov almost 5 years

Thanks for your feedback. Glad to know that everything is running as expected now.

Answers (3)

1

Chris Hsiang
Added about 5 years ago

without redmine_pivot_table.... just redmineup tags plugins, everything works fine

Dimitar Chervenakov almost 5 years

Thanks for your feedback. Glad to know that everything is running as expected now.

1

Dimitar Chervenakov
Added almost 5 years ago

Thanks for your feedback. Glad to know that everything is running as expected now.

1

(none) (none)
Added about 3 years ago

Here is a fix that help me solve this issue
https://github.com/ixti/redmine_tags/commit/964e7c787924559a76e7aebfcd981c93c0b03753

And now redmine_pivot_table works fine together with redmineup_tags

Also reported:
https://github.com/ixti/redmine_tags/issues/125
https://github.com/ixti/redmine_tags/issues/130

    (1-3/3)