Defect #12739

Pb with last release of the plugin with Redmine 2.2.0

Added by Patrice Bonhomme almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Invalid Affected version:2.2.0


Hi there,

I tried to install the last release of the redmine timesheet plugin (the fork by Hisham Malik) and I have a problem with my new Redmine 2.2.0 installation.

I copied the plugin :
git clone git:// plugins/redmine_timesheet_plugin

Bundle install is ok.

rake redmine:plugins:migrate RAILS_ENV=production is ok

rake tmp:cache:clear is ok

Restart redmine and I have a 500 error while I try to access the web site. Here are log information withing the production.log file :

Started GET "/" for at Fri Jan 04 16:11:41 +0100 2013
Processing by WelcomeController#index as HTML
  Current user: admin (id=1)
  Rendered news/_news.html.erb (13.1ms)
  Rendered welcome/index.html.erb within layouts/base (156.7ms)
Completed 500 Internal Server Error in 181ms

ActionView::Template::Error (undefined method `association_class' for nil:NilClass):
    34:         <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
    35:         <label for='q'>
    36:           <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
    37:         </label>
    38:         <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
    39:         <% end %>
    40:         <%= render_project_jump_box %>
  app/helpers/application_helper.rb:272:in `render_project_jump_box'
  app/views/layouts/base.html.erb:37:in `_app_views_layouts_base_html_erb__1973700065_70234598962800'

My configuration :

  Redmine version                          2.2.0.stable.11101
  Ruby version                             1.8.7 (x86_64-linux)
  Rails version                            3.2.9
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  redmine_changeauthor                     1.0.0


#1 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please no plugin request here.

Also available in: Atom PDF