Missing Foreign Key / Cascade process for catalog_category_product_index table #10421
Labels
bug report
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Preconditions
Steps to reproduce
Expected result
Actual result
Eg, just after I have deleted the category with id "48" :
Actually there are no foreign key between "category_id" and the catalog_category_entity table (or the sequence_category table if using EE).
Maybe adding the foreign key could be worth it. Or just ensure that the
reindex()
function of the category will properly reindex the products affected to this category before the deletion.The text was updated successfully, but these errors were encountered: