-
Notifications
You must be signed in to change notification settings - Fork 17
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
InstantiateTemplateResponse can return an empty email #1
Comments
I'm just looking at the code by eye, but it looks like getting
The |
And yes, you could get an empty email body if the template is incorrect, but checking for |
If the template is incorrect, then there shouldn't be a point going any further. In If it can find a template, a valid Guid is stored in I believe that if Again, it's been 4 months since I reported this, but I think I had the incorrect name, and this would have helped troubleshoot my issue a lot easier. |
That makes some sense, but the InstantiateTemplateRequest takes an ID for the Template, not a name. If the name of the template was not found, that would appear in the
I haven't run this recently either, but my understanding is that I know that because I just had to fix a bunch of javascript in a 2011-2016 migration because it used |
What you said makes sense. I'll investigate further later with an incorrect template name again and see what I get in the logs... |
In CreateCustomEmail.cs, the InstantiateTemplateResponse can return an empty email if the template is not set up correctly.
I think there needs to be a check on the email.Id to make sure it is not equivalent to Guid.Empty.
The text was updated successfully, but these errors were encountered: