Project

General

Profile

Actions

Bug #103867

open

Override finisher settings override array value with empty string

Added by Thorben Nissen 26 days ago. Updated 25 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-05-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
override, flexform, finisher, form, email
Complexity:
easy
Is Regression:
Sprint Focus:

Description

1. Create a form with an email finisher and define one or more default recipients
2. Insert the form and submit it. Works fine.
3. Override the recipients by using the "Override finisher settings" option.
4. Submit the form. Works fine.
5. Remove the overriden recipients again, but keep "Override finisher settings" enabled, as there are more settings to be overriden.
6. Submit the form. This results in an error `The option "recipients" must be set for the EmailFinisher.`.

This is because the empty recipient override is processed and returns an empty string, which is then written into the final finisher configuration. This way, the empty receiver list overrides the default receiver list.

Actions #1

Updated by Gerrit Code Review 26 days ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review 26 days ago

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

Actions #3

Updated by Gerrit Code Review 25 days ago

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

Actions #4

Updated by Gerrit Code Review 25 days ago

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

Actions

Also available in: Atom PDF