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

Removing a substatus triggers a status email to be sent #569

Open
dwhitig opened this issue Aug 2, 2024 · 0 comments
Open

Removing a substatus triggers a status email to be sent #569

dwhitig opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dwhitig
Copy link
Contributor

dwhitig commented Aug 2, 2024

Describe the bug
If there is a value in the substatus field and you remove that value (set it to none), an email is triggered for the Status value if the Status value has an email configured for it's use. This should not happen as it could cause registration emails to go out again erroneously.

To Reproduce
Steps to reproduce the behavior:

  1. Set up an email to get sent when the status = Registered
  2. Register a person. They will get the registration email.
  3. Edit the registration for the person and add a substatus and save.
  4. Go back to the same registration record, edit the substatus and remove it.
  5. Another registration email will be sent

Expected behavior
The Status email should only be triggered if the record is new or the Status field is changed. The same for the substatus field otherwise there will be unintended consequences.

Screenshots
image

@dwhitig dwhitig added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants