{"data":{"id":"ACP2E-4402","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where products created as disabled were not added back to related Target Rule results after being enabled.","categories":["Catalog/Product"],"components":["app/etc","magento/framework","magento/module-indexer","magento/module-catalog-staging","magento/module-staging","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-79/acp2e-4402","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-79/acp2e-4402.md","blobSha":"24714eb627ceb4c790536f550a59646cfc274c70","description":"Issue where products created as disabled were not added back to related Target Rule results after being enabled.","stepsToReproduce":"1. Create a simple Related Product Rule. 1. Create a disabled product to match the rule condition (for example, Product Type is Simple Product). The issue is not specific to a particular condition. 1. Run the cron to execute the indexer backlog. 1. Enable the product later. 1. Run the cron to execute the indexer backlog. 1. Check the Storefront for the Related Products section, or query the magento_targetrule_product table for the newly created product ID. If the issue is not reproducible with the steps above, try this alternative path: 1. Install a new instance. 1. Create a category. 1. Create a Related Product Rule. 1. Run cron. 1. Create a disabled product. 1. Run cron.","introducedInQpt":"1.1.79","createdFor":["2.4.5-p13"],"documentedRange":"2.4.5 - 2.4.5-p16","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.5-p17","path":"patches/os/ACP2E-4424_2.4.5-p13.patch","blobSha":"7fd400a6363bae329638a4562054835a52d99e51","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-4424_2.4.5-p13.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-indexer/etc/di.xml","change":"modified","package":"magento/module-indexer"},{"path":"app/etc/di.xml","change":"modified","package":"magento/magento2-base"},{"path":"vendor/magento/framework/Mview/View/CompositeSubscriptionStatementPostprocessor.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/Mview/View/Subscription.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/Mview/View/SubscriptionStatementPostprocessorInterface.php","change":"added","package":"magento/framework"}],"packages":["magento/module-indexer","magento/magento2-base","magento/framework"],"hasTests":false,"applicableVersions":{"magento-community":["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-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":["ACSD-46938"],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.5 <2.4.5-p17","path":"patches/commerce/ACP2E-4424_2.4.5-p13.patch","blobSha":"d7c23dd09955aebf66f083c2b7f29c83d2910534","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4424_2.4.5-p13.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-staging/Model/Mview/View/Attribute/Subscription.php","change":"modified","package":"magento/module-catalog-staging"},{"path":"vendor/magento/module-catalog-staging/Model/Mview/View/FutureUpdatesAvoider.php","change":"added","package":"magento/module-catalog-staging"},{"path":"vendor/magento/module-catalog-staging/etc/di.xml","change":"modified","package":"magento/module-catalog-staging"},{"path":"vendor/magento/module-staging/etc/di.xml","change":"modified","package":"magento/module-staging"},{"path":"vendor/magento/module-target-rule/Model/Mview/View/StatusAttributeTriggerFilter.php","change":"added","package":"magento/module-target-rule"},{"path":"vendor/magento/module-target-rule/etc/di.xml","change":"modified","package":"magento/module-target-rule"},{"path":"vendor/magento/module-target-rule/etc/mview.xml","change":"modified","package":"magento/module-target-rule"}],"packages":["magento/module-catalog-staging","magento/module-staging","magento/module-target-rule"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["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},{"package":"magento/magento2-ee-base","constraint":">=2.4.8 <2.4.9","path":"patches/commerce/ACP2E-4566_2.4.8-p3.patch","blobSha":"37d7f734b6f9d28eb5458fe3e9e7f124a578277e","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4566_2.4.8-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-target-rule/Model/Mview/View/StatusAttributeTriggerFilter.php","change":"added","package":"magento/module-target-rule"},{"path":"vendor/magento/module-target-rule/etc/di.xml","change":"modified","package":"magento/module-target-rule"},{"path":"vendor/magento/module-target-rule/etc/mview.xml","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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["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.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","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":"After applying the patch, run setup:upgrade to update the database triggers."},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4402 details"}