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.

activity page throws error (Bug #1011)


Added by Roland Fehrenbacher at 2012-05-10 03:00 pm. Updated at 2012-05-19 04:46 pm.


Status:Declined Start date:2012-05-10
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:3.1.0

Description

In ChiliProject 3.1 I get

NoMethodError (undefined method `journal_class_name' for Object:Class):
  lib/redmine/activity/fetcher.rb:83:in `events'
  lib/redmine/activity/fetcher.rb:82:in `each'
  lib/redmine/activity/fetcher.rb:82:in `events'
  lib/redmine/activity/fetcher.rb:81:in `each'
  lib/redmine/activity/fetcher.rb:81:in `events'
  app/controllers/activities_controller.rb:38:in `index'

when hitting the Activity tab.

Any idea what's wrong?


History

Updated by Felix Schäfer at 2012-05-17 08:11 pm

Have you run the upgrade migration successfully?

Updated by Roland Fehrenbacher at 2012-05-18 08:59 am

Yes.
Just to make sure, I just executed again:

$ bundle exec rake db:migrate RAILS_ENV=production
$ bundle exec rake db:migrate:plugins RAILS_ENV=production

with no errors.

Updated by Felix Schäfer at 2012-05-18 11:16 am

Do you have any plugins installed?

Updated by Roland Fehrenbacher at 2012-05-18 11:20 am

projects_tree_view
timesheet_plugin
stuff_to_do_plugin
redmine_arch_decisions
chiliproject_otrs2_chili
wiking
redmine_issue_control_panel
wiki_tabs
redmine_todos_plugin

Updated by Martin Bischoff at 2012-05-18 01:20 pm

We have had the same error in our installation; the reason is this change in the Chiliproject API
acts_as_journalized

Our quick and dirty solution: edit redmine_todos_plugin/app/controllers/models/todos.rb

Updated by Felix Schäfer at 2012-05-19 08:44 am

Roland, this indeed probably is an incompatibility of a (or more) plugin with newer ChiliProject versions, please contact the maintainer of the plugin.

Closing this issues as it's not a problem with the core.

  • Status changed from Open to Declined

Updated by Roland Fehrenbacher at 2012-05-19 04:46 pm

Our quick and dirty solution: edit redmine_todos_plugin/app/controllers/models/todos.rb

Do you have a diff by any chance? The change doesn't seem straightforward to me as a non-Ruby developer.

Also available in: Atom PDF