Project

General

Profile

Actions

Bug #82569

closed

EXT:form setting attachUploads to false does not work

Added by Maik Hagenbruch over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
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.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #81869: Form extension doesn’t allow overriding boolean valuesClosed2017-07-14

Actions
Actions

Also available in: Atom PDF