You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the very least this should give better error feedback than just "error".
If the currently functionality does explicitly require setting up the email settings, then not setting that up should trigger validation errors so you can't get into the error state in the first place.
If it is valid to have workflows with no email settings configured, then whatever's causing the error needs to stop causing the error. I haven't looked at the code but my gut says it's probably trying to send an email even though you haven't told it who to send to, which would definitely cause an error.
If you're still open to working on a PR for this that would be great! I'm happy to provide any support you need for that.
Module version(s) affected
6.1.3
Description
I want to be able to setup a workflow but not add Notification Email details, submitting request for approval with no errors.
How to reproduce
Steps to reproduce
Actual Results
Example:
Please review content change to $Context.Title
$Initiator.Email
Link to review:
{$Context.AbsoluteEditLink}
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)The text was updated successfully, but these errors were encountered: