Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Compatibilty Redmine 4.0 #43

Open
RomuAdq opened this issue Apr 11, 2019 · 2 comments
Open

Compatibilty Redmine 4.0 #43

RomuAdq opened this issue Apr 11, 2019 · 2 comments

Comments

@RomuAdq
Copy link

RomuAdq commented Apr 11, 2019

Hello, the (useful) plugin is not compatible with Redmine 4.0 branch.
Here is the error when using : rake redmine:plugins:migrate RAILS_ENV=production

NoMethodError: undefined method `alias_method_chain' for User (call 'User.connection' to establish a connection):Class
/var/www/html/plugins/redmine_omniauth_saml/lib/redmine_omniauth_saml/user_patch.rb:29:in `<class:User>'
/var/www/html/plugins/redmine_omniauth_saml/lib/redmine_omniauth_saml/user_patch.rb:3:in `<top (required)>'
/var/www/html/plugins/redmine_omniauth_saml/init.rb:4:in `<top (required)>'
/var/www/html/lib/redmine/plugin.rb:175:in `block in load'
/var/www/html/lib/redmine/plugin.rb:166:in `each'
/var/www/html/lib/redmine/plugin.rb:166:in `load'
/var/www/html/config/initializers/30-redmine.rb:21:in `<top (required)>'
/var/www/html/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment

Any chance to make it compatible ?

Thank you !

@nayuta
Copy link
Contributor

nayuta commented Jun 17, 2019

Hi, I'd faced the same problem and try to fix it. Could you test the unchecked item?

#44

@nayuta nayuta mentioned this issue Jun 17, 2019
6 tasks
@nayuta
Copy link
Contributor

nayuta commented Sep 13, 2019

Hi, I've fix it at #44 . I'm waiting to check by @chrodriguez .

While it, I've open my repository. I'll remove this repository when it merged.

https://github.com/nayuta/redmine_omniauth_saml/

It merged! Thank you @chrodriguez !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants