oc-mall-plugin: Variants are no longer attached to products with 3.0.22 update
Since the update to version 3.0.22 all my products have “lost” their variants.
The selected category has no Variant properties defined. Please switch the inventory management method to "Article" or select another category.
Yet everything seems correct in the corresponding tables…
On my local demo version (with a fresh php artisan mall:seed-demo) I have the same problem with this update.
PS. I updated from version 3.0.20 to 3.0.22
Thanks for your help
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (9 by maintainers)
The offending commit has been reverted upstream: https://github.com/octobercms/library/commit/d2ae52849bac01e48fcdb6f7c7cfea57f14b5208
Let’s wait and see if another solution will be integrated.
For the time being, just stay on 3.4.10:
Thank you guys, this is fixed in version 3.0.23.
A previously missing check on the relationship constraints was added to the October library. This broke previously working code in Mall that should have been broken to begin with.
Fix 3ca3d06
commit to library: https://github.com/octobercms/library/commit/7fc8a8c1aebf9feb87dfbedfaae1801a6f3acb91