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 #1

Updated by Maik Hagenbruch over 6 years ago

  • Category set to Form Framework
Actions #2

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #3

Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #4

Updated by Susanne Moog over 6 years ago

  • Has duplicate Bug #81869: Form extension doesn’t allow overriding boolean values added
Actions #5

Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #6

Updated by Gerrit Code Review over 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #7

Updated by Gerrit Code Review over 6 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #8

Updated by Gerrit Code Review over 6 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #9

Updated by Gerrit Code Review over 6 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #10

Updated by Gerrit Code Review over 6 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54226

Actions #11

Updated by Ralf Zimmermann over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Gerrit Code Review over 6 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #13

Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #14

Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #15

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55026

Actions #16

Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55026

Actions #17

Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55026

Actions #18

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55036

Actions #19

Updated by Mathias Brodala over 6 years ago

  • Status changed from Under Review to Resolved
Actions #20

Updated by David Lobato over 6 years ago

Mathias Brodala wrote:

Applied in changeset 9595a02bd10c1c6b3c7a1e4aff02abf72fc4a796.

Any hope to see this change soon on 8.7?

Actions #21

Updated by Björn Jacob over 6 years ago

This bugfix was not backported to v8. I am contacting the people who are able to do so.

Actions #22

Updated by Gerrit Code Review about 6 years ago

  • Status changed from Resolved to Under Review

Patch set 4 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #23

Updated by Susanne Moog about 6 years ago

  • Target version set to 8.7.10
Actions #24

Updated by Gerrit Code Review about 6 years ago

Patch set 5 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #25

Updated by Gerrit Code Review about 6 years ago

Patch set 6 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #26

Updated by Gerrit Code Review about 6 years ago

Patch set 7 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54990

Actions #27

Updated by Ralf Zimmermann about 6 years ago

  • Status changed from Under Review to Resolved
Actions #28

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF