Comments (10)
Yes this was a spree_social issue that was resolved yesterday. As suggested in the spree_social issue opened you should just need to run bundle update to make sure you have the latest spree_auth_devise and spree_social referenced in your Gemfile.lock
from spree_auth_devise.
@JDutil Thanks a lot
bundle update
didn't updated my spree_auth_devise version, am still getting the same error
from spree_auth_devise.
As I mentioned before make sure your spree_social is using the latest commit for the 1-3 branch 13986074378cd53344250df9823fad5e628f147a
from spree_auth_devise.
I still get the same error with current versions of spree_social and spree_auth_devise in 1.3 branch.
rails -v
3.2.13
spree -v
1.3.2
Bundle update result: https://gist.github.com/zrl3dx/1b86e3655a936b37c511 - i have pointed explicitly to last commits but still no effect. I checked manually code in my project and compared it with git versions and it's identical, so i suppose i have the latest version, but why i still get that error?
Error and stacktrace here, it's almost identical as above: https://gist.github.com/zrl3dx/fea1916ea113750cd820
from spree_auth_devise.
any luck on this issue ?? How do we go about fixing the issue.
from spree_auth_devise.
I'm using some workaround (probably its caused by simple name change in spree), the following code fixes that error for me:
before_filter :fix_spree_user_var, :if => Proc.new {|p| p.spree_current_user.present?}
def fix_spree_user_var
@spree_user = spree_current_user
end
from spree_auth_devise.
I am unable to reproduce this issue today. If you're still having this issue, please let me know.
from spree_auth_devise.
I've created repo with that bug, you can look at it here: https://github.com/zrl3dx/spree_error
What to do to see error:
- Create an account.
- Add any authentication method in admin panel or override first line in
users/_social.html.erb
partial (active_authentication_methods?
check). - Click 'My account' link.
You should get same error (no @spree_user
at that scope) as mentioned above.
from spree_auth_devise.
I'm also seeing the same error as @zrl3dx when using the latest 1-3-stable branches of spree_auth_devise and spree_social
The issue seems to be that @spree_user isn't set. However, @user does get set.
from spree_auth_devise.
This seems to be a spree_social bug. There is an open issue for that there: spree-contrib/spree_social#92.
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.