Project

General

Profile

Actions

Bug #103867

open

Override finisher settings override array value with empty string

Added by Thorben Nissen about 1 month ago. Updated about 1 month 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

Also available in: Atom PDF