-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fixed bugs and add improvements for Newsletter Queue #33849
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
Fixed bugs and add improvements for Newsletter Queue #33849
Conversation
Hi @Usik2203. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
private function startQueue() | ||
{ | ||
$this->setQueueStatus(self::STATUS_SENDING); | ||
$this->save(); |
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.
Why do we still use deprecated method in core?
@magento give me test instance |
@magento give me test instance |
Hi @engcom-Charlie. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Charlie, here is your Magento Instance: https://3cba4c94c32bbcd522c1f3907ab57bdd.instances.magento-community.engineering |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@engcom-Charlie Will you help with updating PR? |
Hi @Den4ik, Yeah, will work on the review comments and on build failures. Thank you! |
@engcom-Charlie That's great 👍 |
@magento create issue |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
4 similar comments
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Functional Tests B2B, Functional Tests EE,Functional Tests CE Failures are related to Currency Converter API. |
Description
This PR fixes bugs and add improvements for Newsletter Queue functionality
Preconditions
newsletter_subscriber
tableScreen.Recording.2021-08-18.at.15.56.20.mov
Issue case 1
Actual result
bin/magento cron:run --group=default
,newsletter_send_all
cron job should run Newsletter QueueResult after fix
Was fixed by appliing next changes https://github.com/magento/magento2/pull/33849/files#diff-1d2d0f2340ff4fc3e0907e98b2ccd1a21a35c777c503907bc3c12f0223eaeb8eR254
Correct status was set, i can see Pause, Cancel , Preview actions for queue
Issue case 2
Actual result
All data were removed from Newsletter Queue after clicking Save and Resume button
Screen.Recording.2021-08-18.at.16.53.36.mov
Result after fix
Was fixed by appliing next changes https://github.com/magento/magento2/pull/33849/files#diff-f4e00fe342edaab019fbb62abfa0c2b8f5d7a2f179bd5880e4c217d57bbb7883R232
Data was saved correctly all data present
Screen.Recording.2021-08-18.at.17.12.18.mov
Issue case 3
Actual result
Result after fix
Was fixed by appliing next changes https://github.com/magento/magento2/pull/33849/files#diff-d337328a9078b6f37102b714ffa5460b365c7ede7b97ca644bf2f0b8fe15b0dcR138
Screen.Recording.2021-08-18.at.17.15.38.mov
Resolved issues: