Comments (10)
Hi Raju,
Please remember that when you post issues you need to give us a whole bunch of information from spree https://github.com/spree/spree/tree/master/CONTRIBUTING.md. Simply just an error message will not do.
Please provide this information.
On Mon, Dec 16, 2013 at 11:36 PM, railsfactory-raju
[email protected] wrote:
I have recently done spree demo application with spree-2-1-stable + spree_auth_devise (2-1-stable).
where I am getting the below error
ActionController::RoutingError (uninitialized constant Spree::PasswordsController):
while redirected to application once clicked on email forget password link...
Is there any thing missed for routings?pls let me know thoughts?
Reply to this email directly or view it on GitHub:
#149
from spree_auth_devise.
-
Forget password issue
-
It need to redirect to change password form when click on email reset password link but it goes wrong
as giving below errorActionController::RoutingError (uninitialized constant Spree::PasswordsController):
-
spree-2-1-stable + spree_auth_devise-2-1-stable + rails-4
from spree_auth_devise.
@railsfactory-raju You did not show this information from the Contributing guide:
- Your application's complete Gemfile, as text (not as an image)
- Any relevant stack traces ("Full trace" preferred)
Please provide this information.
from spree_auth_devise.
Hi radar,
- Gemfile:
source 'https://rubygems.org'
gem 'rails', '4.0.0'
gem 'pg'
gem 'airbrake'
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
group :doc do
gem 'sdoc', require: false
end
gem 'spree', github: 'spree/spree', branch: '2-1-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-1-stable'
gem 'spree_social', :git => 'git://github.com/spree/spree_social.git', :branch => '2-1-stable'
- error trace
I, [2013-12-17T11:35:23.242788 #19157] INFO -- : Completed 200 OK in 146ms (Views: 29.7ms | ActiveRecord: 5.7ms)
I, [2013-12-17T11:35:28.211275 #19157] INFO -- : Started GET "/users/password/edit?reset_password_token=[FILTERED]" for 127.0.0.1 at 2013-12-17 11:35:28 +0530
F, [2013-12-17T11:35:28.228861 #19157] FATAL -- :
ActionController::RoutingError (uninitialized constant Spree::PasswordsController):
activesupport (4.0.0) lib/active_support/inflector/methods.rb:228:in `const_get'
activesupport (4.0.0) lib/active_support/inflector/methods.rb:228:in `block in constantize'
activesupport (4.0.0) lib/active_support/inflector/methods.rb:224:in `each'
activesupport (4.0.0) lib/active_support/inflector/methods.rb:224:in `inject'
activesupport (4.0.0) lib/active_support/inflector/methods.rb:224:in `constantize'
actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:76:in `controller_reference'
Please let me know If you need any more. I hope error in routing for password change.
I found this error got when using the spree_auth_devise + spree_social as 2-1-stable branch.
Thanks a lot for your support.
from spree_auth_devise.
@railsfactory-raju off topic, but could you place three back tics (`) around large pieces of ruby or output. This improves the readability a lot. Thanks
from spree_auth_devise.
Sure, Thanks @peterberkenbosch for your change.
I hope you will get back to me soon with fix.
from spree_auth_devise.
@railsfactory-raju could you provide your routes file as well. I have the same kind of setup without problems. It might be a custom devise route defined in the devise_scope thats creating the issue. Also, have you set Spree.user_class = "Spree::User"
in an initializer. The application is supposed to find Spree::UserPasswordsController and not Spree::PasswordsController, so maybe some devise mapping is broken.
from spree_auth_devise.
@kitwalker12 , thanks for your reply.
No custom routes not at all as I done sample spree application with spree, spree_auth_devise, spree_social 2-1-stable branches only.Yes it should supposed to find Spree::UserPasswordsController only.
this is the problem coming when only included spree_social gem and alone spree_auth_devise forget password process working fine and I have setup Spree.user_class = "Spree::User"
in an initializer.
Have you tried sample spree application and checked forget password process?
Please let me know your comments. Thanks in advance.
from spree_auth_devise.
For more updates from my side,
Only with spree_auth_devise for reset password link from email while forget password process
http://localhost:3000/user/spree_user/password/edit?reset_password_token=VurV4hsTYJFi4BoP47AZ
With combination of spree_auth_devise + spree_social
http://localhost:3000/users/password/edit?reset_password_token=Hy8_UT78wbAN3yfspxxZ
Pls let me know your comments If any
from spree_auth_devise.
Closing this as there's already a discussion ongoing with spree-contrib/spree_social#112.
from spree_auth_devise.
Related Issues (20)
- login error devise 4.3.0 HOT 10
- Authorization failure page is rendered for not authenticated user
- Spree::Api 'checkouts#update' in production mode causes exception in Metal decorator HOT 1
- Bypass option is deprecated
- Multiple issues with specs
- Login without email impossible due to unique index on `email` column
- Devise Syntax Error HOT 2
- customize user confirmation email url HOT 1
- How can I set up the devise lockable module?
- Alerts are duplicated
- Users can't be really destroyed
- Order token is persisted on logout
- No Way For Users To Re-send The Account Confirmation Email HOT 1
- UserRegistrationsController won't inherit from Spree::BaseController
- 2-Factor Authentication HOT 2
- ArgumentError:wrong number of arguments (given 0, expected 1) on Spree::User#send_confirmation_instructions (spree_auth_devise 4.3.0) HOT 6
- Spree backend user session fallback root path is not admin_path
- Uninitialized constant Spree::UsersController with spree legacy frontend HOT 2
- 4.5.0 breaks rails version resolution (bundler) HOT 1
- URL Generation issue after Admin login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spree_auth_devise.