Open gastonambrogi opened 8 years ago
When I want to show a project inside the Redmine app it crashes and the log is this:
2016-04-18T12:17:49.193596+00:00 app[web.1]: ActionView::Template::Error (undefined methodname' for nil:NilClass): 2016-04-18T12:17:49.193596+00:00 app[web.1]: 42: <% end %> 2016-04-18T12:17:49.193597+00:00 app[web.1]: 43: 2016-04-18T12:17:49.193597+00:00 app[web.1]: 44:
2016-04-18T12:17:49.193596+00:00 app[web.1]: ActionView::Template::Error (undefined method
block (2 levels) in <top (required)>' 2016-04-18T12:17:49.193600+00:00 app[web.1]: lib/redmine/menu_manager.rb:199:in
allowed_node?' 2016-04-18T12:17:49.193601+00:00 app[web.1]: lib/redmine/menu_manager.rb:166:in
each' 2016-04-18T12:17:49.193602+00:00 app[web.1]: lib/redmine/menu_manager.rb:165:in
render_menu' 2016-04-18T12:17:49.193603+00:00 app[web.1]: lib/redmine/menu_manager.rb:80:in
_app_views_layouts_base_html_erb__3721992491593176369_70148833958020' 2016-04-18T12:17:49.193604+00:00 app[web.1]: app/controllers/projects_controller.rb:163:in
When I want to show a project inside the Redmine app it crashes and the log is this:
2016-04-18T12:17:49.193596+00:00 app[web.1]: ActionView::Template::Error (undefined method
name' for nil:NilClass): 2016-04-18T12:17:49.193596+00:00 app[web.1]: 42: <% end %> 2016-04-18T12:17:49.193597+00:00 app[web.1]: 43: 2016-04-18T12:17:49.193597+00:00 app[web.1]: 44:<%= page_header_title %>
2016-04-18T12:17:49.193598+00:00 app[web.1]: 45: 2016-04-18T12:17:49.193598+00:00 app[web.1]: 46: <% if display_main_menu?(@project) %> 2016-04-18T12:17:49.193599+00:00 app[web.1]: 47:block (2 levels) in <top (required)>' 2016-04-18T12:17:49.193600+00:00 app[web.1]: lib/redmine/menu_manager.rb:199:in
call' 2016-04-18T12:17:49.193601+00:00 app[web.1]: lib/redmine/menu_manager.rb:199:inallowed_node?' 2016-04-18T12:17:49.193601+00:00 app[web.1]: lib/redmine/menu_manager.rb:166:in
block in menu_items_for' 2016-04-18T12:17:49.193601+00:00 app[web.1]: lib/redmine/menu_manager.rb:165:ineach' 2016-04-18T12:17:49.193602+00:00 app[web.1]: lib/redmine/menu_manager.rb:165:in
menu_items_for' 2016-04-18T12:17:49.193602+00:00 app[web.1]: lib/redmine/menu_manager.rb:90:inrender_menu' 2016-04-18T12:17:49.193603+00:00 app[web.1]: lib/redmine/menu_manager.rb:80:in
render_main_menu' 2016-04-18T12:17:49.193603+00:00 app[web.1]: app/views/layouts/base.html.erb:45:in_app_views_layouts_base_html_erb__3721992491593176369_70148833958020' 2016-04-18T12:17:49.193604+00:00 app[web.1]: app/controllers/projects_controller.rb:163:in
show' `