-
Notifications
You must be signed in to change notification settings - Fork 0
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
Send email workflow not using filesystemprovider #477
Comments
There's a related issue here when it comes to XSLT files used for transformations of emails and XML posts - they are also expected to live on the file system. |
I have this issue as well. |
I couldn't reproduce the issue, however, a fix has been added so that we now use the media filesystemsprovider, so this bug should have been fixed. |
Is this issue also for sending xslt formatted emails? I'm still getting this error message when sending XSLT-formatted emails on 8.6.1.
I have verified that the file actually exists |
Also tried uploading the xslt again and assigning it (after doing a workaround for another bug #348) But still no cigar
|
A brief description of the issue goes here.
In Forms we have some standard field types and workflows, the relevant field type here is an upload field and the relevant workflow is one where you can set a form to send an email with the form submission when submitted.
By default form uploads are stored in ~/media/forms/upload/[guid]/[guid]/[guid]/filename.pdf
The upload storage destination is based on the filesystem provider, so if you change to blob storage it will start to place them in the same path but within the blob storage instead of in the server filesystem.
This still allows you to submit forms, and the records in the backoffice are also working just fine - the problem is the send email workflow that comes out of the box allows you to include attachments for uploads, and when it tries to get that attachment it doesn't check the filesystemprovider but just looks in the physical file system - which is no longer used and it throws an error saying the file doesn't exist, and the email doesn't get sent.
Reproduction
If you're filing a bug, please describe how to reproduce it. Include as much
relevant information as possible, such as:
Bug summary
Specifics
This was tested on
Umbraco: 7.15.6
Umbraco.Forms: 7.4.1
However looking at the workflow code I suspect it has the same issue on v8:
https://github.com/umbraco/Forms/blob/7.4.1/Umbraco.Forms.Core.Providers/WorkflowTypes/SendEmail.cs#L89
https://github.com/umbraco/Forms/blob/release-8.6.0/src/Umbraco.Forms.Core.Providers/WorkflowTypes/SendEmail.cs#L101
Steps to reproduce
Expected result
The email sends and the uploaded file is attached
Actual result
Email is never sent, throws this error:
This item has been added to our backlog AB#10094
The text was updated successfully, but these errors were encountered: