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
Fix pending count on segment email #5697
Fix pending count on segment email #5697
Conversation
Label: Bug |
Label: Ready to test |
I have updated the PR and the test process. I understood how a lead_id can be null in email_stat table, it's when you delete a contact. |
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.
Tested on a live instance to see the difference and it works properly !
Label: Pending test confirmation |
Tested, was able to reproduce bug and fix |
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.
Works correctly. Thanks! 👍
Description:
When a lead is deleted, lead_id in email_stat table are set to NULL.
If one lead_id is NULL in segment email stat, pending count is not longer calculated proprely
Steps to reproduce the bug:
Steps to test this PR: