Skip to content

Notify registration managers when a participant withdraws their registration #5633

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

Closed
kewisch opened this issue Jan 24, 2023 · 1 comment · Fixed by #5638
Closed

Notify registration managers when a participant withdraws their registration #5633

kewisch opened this issue Jan 24, 2023 · 1 comment · Fixed by #5638
Milestone

Comments

@kewisch
Copy link
Contributor

kewisch commented Jan 24, 2023

Is your feature request related to a problem? Please describe.
Registration managers, or those who are in the notify list for specific reg forms, get notified on various state changes. However, it appears there is no notification to managers when a registration is withdrawn by a participant.

Describe the solution you'd like
An email is sent to registration managers, and registration form notify emails, when a user has withdrawn their registration.

Describe alternatives you've considered
Looking at the list once a day to see who withdrew? ;-)

Additional context
It looks like notify_registration_state_update is not called in RHRegistrationWithdraw, while it is in RHRegistrationManageWithdraw. Would it be as simple as adding the call here?

@ThiefMaster
Copy link
Member

I haven't tested it, but I think this is exactly what's missing there and would be exactly what I'd do to fix it (in fact I looked at the code and only then saw your last part with the proposed solution ;)).

A PR would certainly be appreciated if you'd like to! :)

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

Successfully merging a pull request may close this issue.

2 participants