Closed
Description
Preconditions (*)
- magento 2.3.1+
Steps to reproduce (*)
- Set up async mails sending
- Buy a product, create order, invoice or shipment
- Send sales mails
- Remove product (along with configurable(parent) product)
- Try to resend sales email (e.g. set column
email_sent
to Null in relative tables) - or try to send invoice/shipment again
Expected result (*)
- Emails are send
- If there are newer sales items planned to send (email_sent is null) emails will be sent
- Job code shows warning or problem item is ignored but newer items are sent
Actual result (*)
- Emails are not sent
- If there are newer sales items planned to send (email_sent is null) emails will not be sent; It leads that sales async mailing stop working
- in
var/log/cron.log
this log appears
[2020-02-14 12:41:09] main.ERROR: Cron Job sales_send_order_invoice_emails has an error: Call to a member function getData() on null. Statistics: {"sum":0,"count":1,"realmem":0,"emalloc":0,"realmem_start":73400320,"emalloc_start":36940360} [] []
[2020-02-14 12:41:09] main.CRITICAL: Error when running a cron job {"exception":"[object] (RuntimeException(code: 0): Error when running a cron job at /var/www/html/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:327, Error(code: 0): Call to a member function getData() on null at /var/www/html/vendor/magento/module-catalog/Helper/Image.php:502)"} []
- Newer items are blocked to send
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.Has been reviewed and prioritized during Triage with Product Managers
Type
Projects
Status
Done