dynamo-media / redmine_issue_detailed_tabs_time

30 stars 23 forks source link

500 internal error: ActionView::Template::Error (undefined method `get_issue_history_tab_entries' #49

Open cityant opened 9 years ago

cityant commented 9 years ago

500 internal error under the following env:

Environment:
  Redmine version                2.6.3.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               Mysql2

log:

ActionView::Template::Error (undefined method `get_issue_history_tab_entries' for #<#:0x007fb565e2ec18>):
    2:   stylesheet_link_tag('issue_history_tabs.css', :plugin => :redmine_issue_detailed_tabs_time)
    3: end
    4:
    5: entries = get_issue_history_tab_entries()
    6:
    7: unless entries.empty?
    8:   tabs = get_issue_history_tabs(entries, journals).uniq
  app/views/issues/show.html.erb:120:in `_app_views_issues_show_html_erb__1491719766177637294_70208537828320'
  app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:125:in `show'

swiehr commented 7 years ago

I ran into this problem as well, and identified he root cause to be a require_dependency 'issues_controller' used in a patch file provided by the other plugin (in my case this was Redmine Customization Plugin) - so maybe its a good idea to double check other installed plugins for side effects like that by disabling/reenabling them.