Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last commits broke 2.x compatibility? #26

Open
singalen opened this issue Aug 4, 2015 · 0 comments
Open

Last commits broke 2.x compatibility? #26

singalen opened this issue Aug 4, 2015 · 0 comments

Comments

@singalen
Copy link

singalen commented Aug 4, 2015

On the latest master, when logging in with Google, I get:

ActiveRecord::ConfigurationError (Association named 'email_addresses' was not found on User; perhaps you misspelled it?):
/usr/lib/ruby/vendor_ruby/active_record/associations/join_dependency.rb:112:in build' /usr/lib/ruby/vendor_ruby/active_record/associations/join_dependency.rb:123:inblock in build'
/usr/lib/ruby/vendor_ruby/active_record/associations/join_dependency.rb:122:in each' /usr/lib/ruby/vendor_ruby/active_record/associations/join_dependency.rb:122:inbuild'
/usr/lib/ruby/vendor_ruby/active_record/associations/join_dependency.rb:18:in initialize' /usr/lib/ruby/vendor_ruby/active_record/relation/query_methods.rb:358:innew'
/usr/lib/ruby/vendor_ruby/active_record/relation/query_methods.rb:358:in build_joins' /usr/lib/ruby/vendor_ruby/active_record/relation/query_methods.rb:266:inbuild_arel'
/usr/lib/ruby/vendor_ruby/active_record/relation/query_methods.rb:260:in arel' /usr/lib/ruby/vendor_ruby/active_record/relation.rb:171:inexec_queries'
/usr/lib/ruby/vendor_ruby/active_record/relation.rb:160:in block in to_a' /usr/lib/ruby/vendor_ruby/active_record/explain.rb:41:inlogging_query_plan'
/usr/lib/ruby/vendor_ruby/active_record/relation.rb:159:in to_a' /usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:381:infind_first'
/usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:122:in first' /usr/lib/ruby/vendor_ruby/active_record/relation.rb:119:infirst_or_create'
plugins/redmine_omniauth_google/app/controllers/redmine_oauth_controller.rb:41:in try_to_login' plugins/redmine_omniauth_google/app/controllers/redmine_oauth_controller.rb:26:inoauth_google_callback'
/usr/lib/ruby/vendor_ruby/action_controller/metal/implicit_render.rb:4:in `send_action'

Reverting to 6b2deed, where there were no 'email_addresses', helped.

Redmine 2.4.2 out of Ubuntu 12.04 repository.

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

No branches or pull requests

1 participant