{"data":{"id":"ACP2E-4431","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where Related Products matched by the target rules are deleted during the reindex process.","categories":["Catalog/Product"],"components":["magento/module-target-rule"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4431","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4431.md","blobSha":"3084364b8c7828ee5f245b975e45410dbc698cd8","description":"The Related Products that are matched by the target rules are deleted during the reindex process.","stepsToReproduce":"1. Create 10000 or more products. 1. Assign 10000 or more products to 5000 or more categories. 1. Create 100 or more related product rules. 1. Configure rule conditions where Products to match use Product Category is X. 1. Configure Products to display using Product Category is Constant Value Y. 1. Execute this GraphQL query to retrieve related_products for a product: { products(filter: { url_key: { eq: \"simple-product-491\" } }) { items { sku related_products { uid sku name url_key stock_status price_range { minimum_price { regular_price { value } final_price { value } } } } } } } 1. Create a large backlog for the targetrule_product_rule index. 1. Create a large backlog for the targetrule_rule_product index. 1. Run the targetrule_rule_product indexer. 1. Run the targetrule_product_rule indexer.","introducedInQpt":"1.1.78","createdFor":["2.4.7-p4"],"documentedRange":"2.4.4 - 2.4.8-p4","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.4 <2.4.9","path":"patches/commerce/ACP2E-4431_2.4.7-p4.patch","blobSha":"20a5250922f5a2daa9bc8bba640e70c6d86d1de1","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4431_2.4.7-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-target-rule/Model/Indexer/TargetRule/AbstractAction.php","change":"modified","package":"magento/module-target-rule"},{"path":"vendor/magento/module-target-rule/Model/ResourceModel/Index.php","change":"modified","package":"magento/module-target-rule"}],"packages":["magento/module-target-rule"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4431 details"}