You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Output
New category added under the Default Category.
Actual Output
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`magento2-manadev`.`catalog_category_entity_varchar`, CONSTRAINT `CATALOG_CATEGORY_ENTITY_VARCHAR_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CA), query was: INSERT INTO `catalog_category_entity_varchar` (`attribute_id`,`store_id`,`entity_id`,`value`) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE `value` = VALUES(`value`)
Additional Information
I debugged and it was because of the foreign key constraint in table store from catalog_category_entity_varchar. It was trying to save a varchar attribute in default store (store_id = 0). But the default store does not exist in store table.
The text was updated successfully, but these errors were encountered:
[EngCom] Public Pull Requests
- MAGETWO-72192 Added ability to set 'rows' property for wysiwyg elements. #10732
- MAGETWO-71697 Fix possible bug when saving address with empty street line #10582
- MAGETWO-71647 Modified Bundle.js because of breaking Encoding in Production Mode. #10563
- MAGETWO-72126 Disabling of randomly failing and timing out Functional Tests
Version
0.74.0-beta16
Steps to reproduce
Default Category
Add Subcategory
Expected Output
New category added under the
Default Category
.Actual Output
Additional Information
I debugged and it was because of the foreign key constraint in table
store
fromcatalog_category_entity_varchar
. It was trying to save a varchar attribute in default store (store_id = 0). But the default store does not exist instore
table.The text was updated successfully, but these errors were encountered: