-
Notifications
You must be signed in to change notification settings - Fork 445
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
Fatal error when setting the body of a mailable with null #9444
Comments
@asmecher / @Vitaliy-1 I was going to merge right away, but as I've created PRs, here they are:
I've got this exception in our test drive, AFAICR it was missing some template data for the |
…ax-mailable-body #9444 Allowed passing null to the Mailable::body() method
…ble-body #9444 Allowed passing null to the Mailable::body() method
I've merged the PRs as there's nothing special on them. I just wanted to:
|
Thanks, @jonasraoni! This issue is related: #9202, I'm planning to migrate all of the missing template for 3.5 release I'd add a warning if mailable is sent with an empty body, just for such cases - to know if the template is missing. |
Describe the bug
When trying to create a submission in OMP, I've got the Exception below, due to the absence of a body at the email template
SUBMISSION_NEEDS_EDITOR
.Perhaps the template body shouldn't be null, but the Mailable class should deal with it.
What application are you using?
OMP 3.4
The text was updated successfully, but these errors were encountered: