Skip to content
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

uninitialized constant Spree::PermissionSets::StockTransferDisplay (NameError) #23

Open
afdev82 opened this issue Oct 8, 2018 · 3 comments

Comments

@afdev82
Copy link

afdev82 commented Oct 8, 2018

I get this error after upgrading the extension for Solidus, from v2.4 to v2.7
I found why: solidusio/solidus@0e83b33#diff-6d403e04474bc828ef62de534aafb9d6
They removed the StockTransfer functionality from core.
I think it would be nice to provide a task to upgrade that will check and updates the permission sets in the db or at least mention it in the README, how to solve this problem.
For the moment I deleted them from the spree_permission_sets table.

@fastjames
Copy link
Contributor

We are testing out geminimvp#7 in our fork, which would tolerate this error without blowing up during startup.

@fastjames
Copy link
Contributor

I submitted our fix to this repo as #28 so it should fix your problem.

@afdev82
Copy link
Author

afdev82 commented Oct 7, 2019

Thank you, but

I think it would be nice to provide a task to upgrade that will check and updates the permission sets in the db or at least mention it in the README, how to solve this problem.

Anyway this repo doesn't seem to be so active... I understand the need to have a quick solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants