{"data":{"id":"MDVA-38393","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where Catalog rules stop working for a configurable product if its simple product is re-named.","categories":["Catalog/Product"],"components":["magento/module-catalog-rule-configurable"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-8/mdva-38393-catalog-rules-stop-working-for-configurable-product-if-its-simple-product-is-renamed","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-8/mdva-38393-catalog-rules-stop-working-for-configurable-product-if-its-simple-product-is-renamed.md","blobSha":"6a2c61fb5411788ab9856c38aae3bfffab95cedd","description":"Catalog rules stop working for a configurable product if its simple product is re-named.","stepsToReproduce":"1. Create a configurable product with an associated simple product. 1. Create a category. 1. Assign only the configurable product to the new category. 1. Create new catalog rules: * Condition = Category contains \\<new category id> * Action = 50% discount * Active = Yes 1. Perform reindex. 1. Check the configurable product on the frontend (the discount should be applied). 1. Check the catalogrule_product table (the simple product should have a discount). 1. Go to the Admin and change the name of the simple product. This would add a record to the catalogrule_product_cl table. 1. Execute the cron or the bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1 command. 1. Check the catalogrule_product table.","introducedInQpt":"1.1.8","createdFor":["2.3.5-p2"],"documentedRange":"2.3.0 - 2.4.3-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.3.0 <2.4.4","path":"patches/os/MDVA-38393_2.3.5-p2.patch","blobSha":"dd9578e62f193147b7a7274c95d238e5b53cafc5","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-38393_2.3.5-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-rule-configurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php","change":"modified","package":"magento/module-catalog-rule-configurable"}],"packages":["magento/module-catalog-rule-configurable"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-38393 details"}