Magento 2 - 类别属性保存到错误的商店 ID
Magento 2 - Category attributes save to wrong store ID
我是 运行 最新的 Magento 2 CE (2.3.3) 单一商店模式
当我在 Magento 2 管理员中编辑类别的属性时,它保存到错误的商店 ID。
数据库显示属性(在本例中为内容)存储 ID 0 而不是存储 ID 1。
SELECT * FROM catalog_category_entity_text WHERE entity_id = 27 AND attribute_id = 47;
显示以下数据:
+----------+--------------+----------+-----------+--------------+
| value_id | attribute_id | store_id | entity_id | value |
+----------+--------------+----------+-----------+--------------+
| 444 | 47 | 0 | 27 | <p>Test3</p> |
+----------+--------------+----------+-----------+--------------+
虽然它应该显示:
+----------+--------------+----------+-----------+--------------+
| value_id | attribute_id | store_id | entity_id | value |
+----------+--------------+----------+-----------+--------------+
| 444 | 47 | 0 | 27 | <p>Test3</p> |
| 445 | 47 | 1 | 27 | <p>Test3</p> |
+----------+--------------+----------+-----------+--------------+
我读了this question。我确认我已经完成了接受的答案中的所有步骤。
同一个问题的 different answer 谈到手动编辑数据库以包含商店 1 的行。我确认这可行,但当然不是一个选项。我们不能要求我们的客户手动编辑数据库。
有什么想法吗?
对我来说像是一个错误,请按 post 步骤重现
https://github.com/magento/magento2/issues
因为我没有看到当前打开的任何问题,但我记得一些与管理员范围相关的其他问题,所以这个问题仍然无法正常工作。
我是 运行 最新的 Magento 2 CE (2.3.3) 单一商店模式
当我在 Magento 2 管理员中编辑类别的属性时,它保存到错误的商店 ID。
数据库显示属性(在本例中为内容)存储 ID 0 而不是存储 ID 1。
SELECT * FROM catalog_category_entity_text WHERE entity_id = 27 AND attribute_id = 47;
显示以下数据:
+----------+--------------+----------+-----------+--------------+
| value_id | attribute_id | store_id | entity_id | value |
+----------+--------------+----------+-----------+--------------+
| 444 | 47 | 0 | 27 | <p>Test3</p> |
+----------+--------------+----------+-----------+--------------+
虽然它应该显示:
+----------+--------------+----------+-----------+--------------+
| value_id | attribute_id | store_id | entity_id | value |
+----------+--------------+----------+-----------+--------------+
| 444 | 47 | 0 | 27 | <p>Test3</p> |
| 445 | 47 | 1 | 27 | <p>Test3</p> |
+----------+--------------+----------+-----------+--------------+
我读了this question。我确认我已经完成了接受的答案中的所有步骤。
同一个问题的 different answer 谈到手动编辑数据库以包含商店 1 的行。我确认这可行,但当然不是一个选项。我们不能要求我们的客户手动编辑数据库。
有什么想法吗?
对我来说像是一个错误,请按 post 步骤重现 https://github.com/magento/magento2/issues 因为我没有看到当前打开的任何问题,但我记得一些与管理员范围相关的其他问题,所以这个问题仍然无法正常工作。