Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix of campaign reschedule loop #7413
Please be sure you are submitting this against the staging branch.
We found a never ending loop that was creating massive amount of user notifications. When a contact is added to a campaign with the Send (marketing) Email event and the marketing email was sent to this contact previously then it the event will fail with error:
The solution is to just send the error once without rescheduling.
Steps to reproduce the bug:
You will see the notification created for every 30 minutes if you will test that long.
Steps to test this PR:
Only 1 notification should be created.
This was referenced
Apr 12, 2019
It generates none. Table maujs_notifications is empty
I have activated the old campaigns and it doesn't create any notification. I have a lot of marketing emails already sent because I have created alternative campaigns to workaround the issue. So, after activate the old campaigns, there should be about 500 notifications of marketing emails already sent.
I don't know if it works.
That's what I know right now.