ZoroXing / r-labs

Automatically exported from code.google.com/p/r-labs
0 stars 0 forks source link

Error if no trackers selected on a project #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When viewing pages within a project that has no trackers selected, I get
the following error:

---------------------------------------------------------------------
ActionView::TemplateError (Validation failed: Tracker can't be blank,
Tracker can't be blank) on line #45 of app/views/layouts/base.rhtml:
42:     
43:     <% if display_main_menu?(@project) %>
44:     <div id="main-menu">
45:         <%= render_main_menu(@project) %>
46:     </div>
47:     <% end %>
48: </div>

vendor/plugins/redmine_code_review/app/models/code_review_project_setting.rb:37:
in
`find_or_create'
    vendor/plugins/redmine_code_review/rails/init.rb:52
    lib/redmine/menu_manager.rb:282:in `call'
    lib/redmine/menu_manager.rb:282:in `allowed_node?'
    lib/redmine/menu_manager.rb:252:in `menu_items_for'
    lib/redmine/menu_manager.rb:251:in `each'
    lib/redmine/menu_manager.rb:251:in `menu_items_for'
    lib/redmine/menu_manager.rb:176:in `render_menu'
    lib/redmine/menu_manager.rb:166:in `render_main_menu'
    app/views/layouts/base.rhtml:45:in
`_run_rhtml_app47views47layouts47base46rhtml'

Rendering C:/Program Files/BitNami Redmine
Stack/apps/redmine/public/500.html (500 Internal Server Error)
---------------------------------------------------------------------

I'm running a Redmine 0.9.4 with Code Review plugin 0.3.0. 

This project only has the modules Documents, Files, Wiki and Boards checked. 

This only happens on the project with no trackers enabled. The issue can be
worked around by enabling trackers on that project. Please make it so code
review doesn't break projects that don't need it.

Original issue reported on code.google.com by khbec...@gmail.com on 14 May 2010 at 4:30

GoogleCodeExporter commented 8 years ago
Thanks for reporting.

I will fix it in the next release.

http://www.r-labs.org/issues/392

Original comment by haru.ii.a9i1e on 21 May 2010 at 2:22

GoogleCodeExporter commented 8 years ago
Code review plugin 0.3.1 released.

Original comment by haru.ii.a9i1e on 18 Jul 2010 at 2:23