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

When adding solidus_frontend and solidus_auth_devise I am getting an exception #178

Open
gugaiz opened this issue Nov 21, 2019 · 2 comments

Comments

@gugaiz
Copy link

gugaiz commented Nov 21, 2019

When add these two gems together on my Gemfile:

solidus_frontend (~> 2.9.0)
solidus_auth_devise

I am getting the error below when trying to start the server
Before process_action callback :setup_for_current_state has not been defined (ArgumentError)
The only way we found to fix this is by doing this change to this file

lib/controllers/frontend/spree/checkout_controller_decorator.rb

-      base.skip_before_action :setup_for_current_state, only: [:registration, :update_registration]
+      base.skip_before_action :setup_for_current_state, only: [:registration, :update_registration], raise: false

Is this happening to someone else? Am I doing something wrong?

@kennyadsl
Copy link
Member

Hey @gugaiz, did you fixed it somehow? It's the first time I see this error, maybe it was something with your application?

@gugaiz
Copy link
Author

gugaiz commented May 27, 2020

Hey @kennyadsl, no I am still getting the same error. They way we solve it is by using this forked repo with this modification penrosehill@d2937e0

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

2 participants