Fix race condition on emailing for new proposition #51
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Site/clarion#51
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-proposition-email"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There was a race condition with emails attempted to be sent before the proposition was committed to the database, resulting in errors as no such
proposition_id
was in the database.This commit will change the logic to send the email after the
create
transaction has been committed.