ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

RedmineApp

Added by GDR! GDR! at 2013-01-09 06:08 pm

I was trying to install redmine_work_time plugin ( http://www.redmine.org/plugins/worktime ) under ChilliProject 3.5.0 nad had this error during migration:

uninitialized constant RedmineApp

I've found the following code to be responsible for that error:

RedmineApp::Application.routes.draw do
  match 'work_time/:action', :to => 'work_time#index'
  match 'work_time/:action/:id', :to => 'work_time#show'
end

I'm not really familiar with ChilliProject code base - is there a different object in ChilliProject that the plugin can use instead of RedmineApp? Do you think it's possible to easily solve this problem by changing class name to something else or would it require some refactoring?


Replies (1)

RE: RedmineApp - Added by Felix Schäfer at 2013-01-09 07:24 pm

It seems the plugin has been updated for Rails 3, i.e. Redmine 2. Any version compatible with Redmine 1.x should work better.

(1-1/1)