magento-2-blog
magento-2-blog copied to clipboard
Wrong column type in db_schema.xml for store_ids
Hi,
On Magento 2.3 with latest version, the store_ids
column has int
type.
https://github.com/mageplaza/magento-2-blog/blob/master/etc/db_schema.xml#L31
I guess it should be a text
column to allow comma-separated multiple ids, like in https://github.com/mageplaza/magento-2-blog/blob/master/Setup/InstallSchema.php#L79
Currently it is not possible to assign a blog post to mutlple store views because of this.
Preconditions
- Magento: 2.3
- PHP: 7.2.31
- MySQL: 5.7.29
Steps to reproduce
- Go to Add new post page in admin to create a new post
- Add a random title and select multiple store views
- Save post
Expected result
- Blog post should be assigned to multiple store views
Actual result
- Blog post is only assigned to the first store view
Hi @thomascharbit,
Thanks for your contribution. We have already updated the solution for this problem on the local dev environment and we will release the new version soon.
Please look forward to this. Thanks!
Hi, do you have an ETA for this fix? Thanks.