Project

General

Profile

error after upgrading from 1.0.3 to 1.0.4

Added by Tim Horemans over 13 years ago

After upgrading from 1.0.3 to 1.0.4 i get an error when i click on the "view all issues" link on "My page".

Log:

ActionView::TemplateError (undefined method `module_enabled?' for nil:NilClass) on line #14 of app/views/issues/_sidebar.rhtml:
11: <% if User.current.allowed_to?(:view_gantt, Herve Harster, :global => true) >
12: <
= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => Herve Harster) ><br />
13: <
end >
14: <
= call_hook(:view_issues_sidebar_planning_bottom) >
15:
16: <
unless sidebar_queries.empty? ->
17: <h3><
= l(:label_query_plural) %></h3>

lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/issues/_sidebar.rhtml:14:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar'
app/views/issues/index.rhtml:77:in `_run_rhtml_app47views47issues47index46rhtml'
app/helpers/application_helper.rb:802:in `content_for'
app/views/issues/index.rhtml:76:in `_run_rhtml_app47views47issues47index46rhtml'
app/controllers/issues_controller.rb:84:in `index'
app/controllers/issues_controller.rb:83:in `index'

Replies (4)

RE: error after upgrading from 1.0.3 to 1.0.4 - Added by Florian Keclik about 13 years ago

how did you solve it? I'm having the same problem.

RE: error after upgrading from 1.0.3 to 1.0.4 - Added by Denis Savitskiy about 13 years ago

It was in plugin "alias_method_chain". Somewhere inside, i changed this to method redefining and it has gone!

    (1-4/4)