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.

Redmine Charts 0.1.0 with chiliproject 1.2.0. (Bug #348)


Added by Erik Hetényi at 2011-04-22 08:06 am. Updated at 2011-04-27 06:08 am.


Status:Declined Start date:2011-04-22
Priority:Normal Due date:
Assignee:- % Done:

0%

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

Description

Hello

I've tried to migrate my old redmine system to chiliproject 1.2.0 and I've noticed that one of my plugin (redmine charts 0.1.0) doesn't want to migrate the data in the database. Have someone an Idea what is the problem?

-----------------------------------------------------------------------------------------
rake charts:migrate RAILS_ENV=production --trace
(in /var/www/chiliproject-1.2.0)
  • Invoke charts:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute charts:migrate
    rake aborted!
    undefined method `project_id' for nil:NilClass
    /var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:13
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing'
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `each'
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `send'
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
    /var/www/chiliproject-1.2.0/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing'
    /var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:8
    /var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:7:in `each'
    /var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:7
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
    /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
    /usr/bin/rake:19:in `load'
    /usr/bin/rake:19
    -------------------------------------------------------------------------------------------

About your application's environment
Ruby version 1.8.6 (i486-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /var/www/chiliproject-1.2.0
Environment production
Database adapter mysql
Database schema version 20110131145123

About your Redmine plugins
Knowledgebase 0.2.5
Redmine Charts 0.1.0
Redmine Logs plugin 0.0.1
Default queries per project 0.0.5
Timesheet Plugin 0.6.0
Redmine Work Time plugin 0.0.61

Thanks in advance

Regards

Erik Hetényi


History

Updated by Eric Davis at 2011-04-26 09:57 pm

/var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:13

It looks a bug in redmine_charts's rake task. Since this is a third party plugin and this issue tracker is for core ChiliProject issues only, would you mind posing this in the forums instead?

  • Status changed from Open to Declined

Updated by Erik Hetényi at 2011-04-27 06:08 am

Eric Davis wrote:

/var/www/chiliproject-1.2.0/vendor/plugins/redmine_charts/lib/tasks/migrate.rake:13

It looks a bug in redmine_charts's rake task. Since this is a third party plugin and this issue tracker is for core ChiliProject issues only, would you mind posing this in the forums instead?

If that is the right way to find a solution, then yes

Also available in: Atom PDF