Coder Social home page Coder Social logo

Comments (10)

radar avatar radar commented on August 23, 2024

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.

railsfactory-raju avatar railsfactory-raju commented on August 23, 2024
  • 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 error

    ActionController::RoutingError (uninitialized constant Spree::PasswordsController):

  • spree-2-1-stable + spree_auth_devise-2-1-stable + rails-4

from spree_auth_devise.

radar avatar radar commented on August 23, 2024

@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.

railsfactory-raju avatar railsfactory-raju commented on August 23, 2024

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.

peterberkenbosch avatar peterberkenbosch commented on August 23, 2024

@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.

railsfactory-raju avatar railsfactory-raju commented on August 23, 2024

Sure, Thanks @peterberkenbosch for your change.

I hope you will get back to me soon with fix.

from spree_auth_devise.

kitwalker12 avatar kitwalker12 commented on August 23, 2024

@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.

railsfactory-raju avatar railsfactory-raju commented on August 23, 2024

@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.

railsfactory-raju avatar railsfactory-raju commented on August 23, 2024

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.

radar avatar radar commented on August 23, 2024

Closing this as there's already a discussion ongoing with spree-contrib/spree_social#112.

from spree_auth_devise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.