-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Product not exist fix when attempt to get an image #26877
Product not exist fix when attempt to get an image #26877
Conversation
Hi @ilnytskyi. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Hi @VladimirZaets, thank you for the review.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ilnytskyi. Thanks for collaboration. Due to Magento Definition of Done all code must be covered by tests. Please cover your fix by automated tests or update the existing ones.
… async-emails-removed-product
@magento run all tests |
7b558cd
to
da38103
Compare
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ilnytskyi .
Unfortunately, we are not able to reproduce this problem following by steps from the issue .
Precondition:
Have Configurable product with images;
Manual testing scenario:
- Set up async mails sending ( Go to Admin -> Stores -> Configuration -> Sales -> Sales Emails -> General Settings and set Asynchronous sending to "Enable");
- Create Order -> Invoice -> Shipment;
- Send sales mails
Actual Result: ✔️ All 3 messages were received
Actual Result: ✔️ the message was successfully received
@ilnytskyi Could you take a look? Maybe we missed something..
Thanks!
Pull Request state was updated. Re-review required.
@engcom-Alfa |
@engcom-Alfa could you please confirm #26877 (comment) |
Hi @ilnytskyi @lenaorobei . We checked this PR in more detail again and we were able to reproduce this problem in the following steps: Precondition: Since there is no product image variable in the email templates, we have added this programmatically. Manual testing scenario:
Actual Result: ✔️ The order confirmation email was received
Actual Result: ✖️ 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 @lenaorobei Could you approve it again? Thanks! |
Hi @lenaorobei, thank you for the review. |
✔️ QA Passed Precondition: Since there is no product image variable in the email templates, we have added this programmatically. Manual testing scenario:
Actual Result: ✔️ The order confirmation email was received
Before: ✖️ Emails are not sent in After: ✔️ Emails are send ✔️ If there are newer sales items planned to send (email_sent is null) emails will be sent |
Hi @ilnytskyi, thank you for your contribution! |
Description (*)
This PR fixes an issue when async email sending is blocked because the removed product
And this error is shown
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)