Skip to content
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

Multiple Iterations of Senior / regional delegate emails when organizer addition/removal notification is sent. #10320

Closed
pranav-027 opened this issue Nov 25, 2024 · 1 comment · Fixed by #10339

Comments

@pranav-027
Copy link
Member

Describe the bug
Someone reported this on Discord: when an organizer is added or removed, or when the competitions are confirmed, the email contains duplicate iterations of the emails of senior/regional delegates.

Screenshots
Screenshot from Discord:
1

Screenshots from my local testing:
image

image

@gregorbg
Copy link
Member

gregorbg commented Dec 2, 2024

This error occurs because of a quirk in our Delegate role metadata join.

Some users are marked as Delegates multiple times, most notably if they have Senior/Regional responsibilities. In that case, there's one entry for them as a "normal" Delegate and once more in their extended role (Senior Delegate or Regional Delegate). This "ruins" the JOIN under the hood, making some rows appear multiple times.

I will point you to a "proper" fix directly on the relevant PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants