{"data":{"id":"ACSD-52786","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where a catalog rule condition \"SKU is\" applies to all products starting with the given SKU.","categories":["Price/Tax"],"components":["magento/module-catalog-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-35/acsd-52786-catalog-rule-sku-is-applies-to-all-products-starting-with-it","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-35/acsd-52786-catalog-rule-sku-is-applies-to-all-products-starting-with-it.md","blobSha":"6a9b6b247489e7521e6ea40974aea3bc47e901c9","description":"Catalog rule condition SKU is applies to all products starting with the given SKU.","stepsToReproduce":"1. Create two products, one with SKU \"24\" and another with SKU \"24-MB01\". 1. Navigate to Marketing > Catalog Price Rule > Add New Rule. 1. Apply the following condition: * If ALL of these conditions are TRUE : SKU is 24 1. Set any discount amount in actions. 1. Click Save and Apply. 1. Flush cache. 1. Go to the storefront, and check the price of 24-MB01.","introducedInQpt":"1.1.35","createdFor":["2.4.5-p1"],"documentedRange":"2.4.5 - 2.4.5-p3","scheduledFixRelease":null},"files":[{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.6","path":"patches/os/ACSD-52786_2.4.5-p1.patch","blobSha":"a58a96f54640d6e8385d9884066d805699f66e6c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-52786_2.4.5-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-rule/Model/Indexer/IndexBuilder.php","change":"modified","package":"magento/module-catalog-rule"},{"path":"vendor/magento/module-catalog-rule/Model/Indexer/ReindexRuleProduct.php","change":"modified","package":"magento/module-catalog-rule"},{"path":"vendor/magento/module-catalog-rule/Model/Rule.php","change":"modified","package":"magento/module-catalog-rule"}],"packages":["magento/module-catalog-rule"],"hasTests":false,"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-52786 details"}