solidus_user_roles
solidus_user_roles copied to clipboard
uninitialized constant Spree::PermissionSets::StockTransferDisplay (NameError)
I get this error after upgrading the extension for Solidus, from v2.4 to v2.7
I found why: https://github.com/solidusio/solidus/commit/0e83b33f710b7112a237ac23560b667f0e0fbf6a#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.
We are testing out https://github.com/geminimvp/solidus_user_roles/pull/7 in our fork, which would tolerate this error without blowing up during startup.
I submitted our fix to this repo as https://github.com/boomerdigital/solidus_user_roles/pull/28 so it should fix your problem.
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.