-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
undefined method to_url
for nil:NilClass when creating taxonomy
#11899
Comments
Hello |
I did some investigation on this one - it seems that when store.default_locale is different from I18n.default_locale, Mobility's fallbacks return a I'll dig a bit deeper into it, as this seems to be an edge case for translation fallbacks in general. I think creating a Taxonomy is the only place where it really surfaces, but it would be great for the fallbacks to work consistently across the board. |
@mbajur I've just pushed a fix with Spree 4.6.1. Please take a look and let me know if that works fine for you now. |
I can confirm it indeed fixed it. Thank you! 🙌 |
My spree instance is throwing
undefined method 'to_url' for nil:NilClass
Context
It's happening when I'm trying to create a taxonomy either using admin panel or directly via console. Name of the taxonomy is being provided as expected.
Actual Behavior
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: