Open amazingphilippe opened 4 months ago
Should be handled better than 500 error and through some sort of validation with error message
email address variable gets a added at some point, conversion happens when we process the CSV. Figure out where the conditional check is happening, add the at an earlier point.
Describe the bug
When setting
((email address?? conditional content))
Notify will not know be able to generate the email template and throw a generic 500 error.Its unlikely to happen, because it makes no sense to do this, but we could handle the error a bit more gracefully, or not allow "email address" or "phone number" to be conditionals. And throw a validation error on template edit.
Bug Severity
See examples in the documentation
SEV-4
To Reproduce
Steps to reproduce the behavior:
((email address?? conditional content))
or((phone number?? conditional content))
Expected behavior
To know what broke.
Impact
Some confusion, though again this is an unlikely scenario that I encountered because I was testing random stuff.