{"data":{"id":"ACSD-47937","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where price drop notifications are not always sent due to application-level caching.","categories":["Emails"],"components":["b/c","magento/framework","magento/framework-amqp","magento/module-elasticsearch","magento/module-product-alert"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-26/acsd-47937-price-drop-notifications-are-not-sent","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-26/acsd-47937-price-drop-notifications-are-not-sent.md","blobSha":"6713cfad46d7b348fee665765c480e2e784edc65","description":"Customers are not getting product price drop email for subsequent product price changes.","stepsToReproduce":"1. Enable Product Alert for both Price Changes and Back in Stock in Store > Configuration > Catalog > Product Alert. 1. Enable Display Out of Stock Products. 1. Create a simple product (ABC) with qty = 0. 1. Create a customer from the storefront and subscribe to the above product to get product alerts for price drops. 1. Start the product alert for customers. bin/magento queue:consumers:start product_alert 1. Drop the price for the ABC product. 1. Trigger the product alert cron. php n98-magerun2.phar sys:cron:run catalog_product_alert 1. Drop the price for the ABC product again. 1. Trigger the product alert cron. php n98-magerun2.phar sys:cron:run catalog_product_alert >[!NOTE] > >If you are not familiar with n98 tool, then you can run bin/magento cron:run command as usual and monitor cron_schedule table to make sure catalog_product_alert job gets success status.","introducedInQpt":"1.1.26","createdFor":["2.4.4","2.4.5-p1"],"documentedRange":"2.4.4, 2.4.5, and 2.4.5-p1","scheduledFixRelease":"2.4.6"},"files":[{"package":"magento/magento2-base","constraint":"2.4.4","path":"patches/os/ACSD-47937_2.4.4.patch","blobSha":"db192335146e94ab24f41964c1674eabd0b52041","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-47937_2.4.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-elasticsearch/SearchAdapter/Query/Builder/Sort.php","change":"modified","package":"magento/module-elasticsearch"},{"path":"vendor/magento/module-product-alert/Model/Mailing/AlertProcessor.php","change":"modified","package":"magento/module-product-alert"},{"path":"vendor/magento/framework-amqp/Config.php","change":"modified","package":"magento/framework-amqp"},{"path":"vendor/magento/framework/DataObject.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/Filter/Input/MaliciousCode.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/Search/Request/Binder.php","change":"modified","package":"magento/framework"}],"packages":["magento/module-elasticsearch","magento/module-product-alert","magento/framework-amqp","magento/framework"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.4"],"magento-commerce":["2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":["ACSD-48366"],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.6","path":"patches/os/ACSD-49211_2.4.5-p1.patch","blobSha":"32e00308aa55f0d844fea8b1992a434e1e879cef","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-49211_2.4.5-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-product-alert/Model/Mailing/AlertProcessor.php","change":"modified","package":"magento/module-product-alert"}],"packages":["magento/module-product-alert"],"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":["ACSD-48366"],"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","2.4.4"],"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","2.4.4"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/system.log","match":"*report.CRITICAL: Magento\\ProductAlert\\Model\\Mailing\\ErrorEmailSender::execute(): Argument #2 ($storeId) must be of type int, string given, called in */module-product-alert/Model/Mailing/AlertProcessor.php on line*"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-47937 details"}