solidus_auth_devise icon indicating copy to clipboard operation
solidus_auth_devise copied to clipboard

When adding solidus_frontend and solidus_auth_devise I am getting an exception

Open gugaiz opened this issue 6 years ago • 2 comments

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?

gugaiz avatar Nov 21 '19 19:11 gugaiz

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

kennyadsl avatar May 21 '20 12:05 kennyadsl

Hey @kennyadsl, no I am still getting the same error. They way we solve it is by using this forked repo with this modification https://github.com/penrosehill/solidus_auth_devise/commit/d2937e0721e2bfff52af3a6486ceb55144d941b1

gugaiz avatar May 27 '20 19:05 gugaiz