Actions
Bug #82569
closedEXT:form setting attachUploads to false does not work
Start date:
2017-09-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
form, finisher, upload, attachuploads, attach
Complexity:
Is Regression:
Sprint Focus:
Description
I dont know if its an bug or not, but this is not working for me. Maybe i did it wrong.
I configured my a MailToReceiverFinisher and set
attachUploads to false ( tried with [0, false, 'false'];
After sending this form the mail contains the uploaded file every time.
So i debugged in \TYPO3\CMS\Form\Domain\Finishers\EmailFinisher line 98.
$attachUploads = $this->parseOption('attachUploads');
This is always set to true. If i say
$attachUploads = false; manualy directly after this call, the attachments are NOT included in the mail.
My Config: https://pastebin.com/EXKaKVk2
This is what is saved after saving the form in backend module.
Actions