Problem with Gem redmine_crm 0.0.62 after upgrade to Redmine 5.0.7

0

Martin Becker
Added 4 months ago

Updated redmine to the 5.0.7 version and follwed the steps at https://redmine.org/projects/redmine/wiki/RedmineUpgrade

bundle exec rake db:migrate RAILS_ENV=production brings the following error

rake aborted!
NoMethodError: undefined method `[]' for Redmine::Acts::Attachable::ObjectTypeConstraint:Class
/opt/redmine/redmine-5.0/vendor/bundle/ruby/3.0.0/gems/redmine_crm-0.0.62/lib/redmine_crm/compatibility/routing_mapper_patch.rb:15:in `constraints_with_redmine_crm'
...

There is also a warning with bundle update:

Your Gemfile lists the gem redmine_crm (>= 0) more than once.
You should probably keep only one of them.

Please advise on how to proceed with the update.

Thanks and regards!

Stefan Schäfer 4 months

We are having the sam issue with redmine 5.1.1 on a new installation.

NoMethodError: undefined method `[]' for Redmine::Acts::Attachable::ObjectTypeConstraint:Class
/var/lib/gems/3.0.0/gems/redmine_crm-0.0.62/lib/redmine_crm/compatibility/routing_mapper_patch.rb:15:in `constraints_with_redmine_crm'

Answers (2)

0

Stefan Schäfer
Added 4 months ago

0

Dimitar Chervenakov
Added 18 days ago

Dear Stefan and Martin,

This is Dimitar from the RedmineUP Support team here. This problem will be solved when you update all your RedmineUP plugins to the latest versions. It is a problem based on the moving from the redmine_crm gem to the redmineup gem. If you still have problems after updating all the plugins then just contact us at and or support engineer will help you solving the problem. Thanks.

    (1-2/2)