Project

General

Profile

Actions

Bug #103941

closed

TYPO3 Recipients Empty in Email to Sender Finisher empty after Overwrite

Added by Alexander Nies 7 months ago. Updated 13 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2024-05-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
11.5.36
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Steps to reproduce:

1. Create new Form with E-Mail to Sender finisher.

2. Set Recipients in E-Mail to Sender finisher.

3. Use This form on a Page with the Form Plugin.

4. Create new Recipient in Field "Recipients" and save.

5. Delete the Recipient again and save.

6. Send the form. This error appears:

(1/1) #1327060200 TYPO3\CMS\Form\Domain\Finishers\Exception\FinisherException
The option "recipients" must be set for the EmailFinisher.

in /home/stage/public/typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php line 110
if ($subject === '') {
throw new FinisherException('The option "subject" must be set for the EmailFinisher.', 1327060320);
}
if (empty($recipients)) {
throw new FinisherException('The option "recipients" must be set for the EmailFinisher.', 1327060200);
}
if (empty($senderAddress)) {
throw new FinisherException('The option "senderAddress" must be set for the EmailFinisher.', 1327060210);
}
at TYPO3\CMS\Form\Domain\Finishers\EmailFinisher->executeInternal()
in /home/stage/public/typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php line 155
if (!$this->isEnabled()) {
return null;
}

return $this->executeInternal();
}
/**
 * This method is called in the concrete finisher whenever self::execute() is called.
at TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher->execute(object(TYPO3\CMS\Form\Domain\Finishers\FinisherContext))
in /home/stage/public/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php line 720
foreach ($this->formDefinition->getFinishers() as $finisher) {
$this->currentFinisher = $finisher;
$this->processVariants(); {
if ($this->isAfterLastPage()) {
return $this->invokeFinishers();
}
$this->processVariants();
$this->formState->setLastDisplayedPageIndex($this->currentPage->getIndex());

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #103867: Override finisher settings override array value with empty stringResolved2024-05-21

Actions
Actions #1

Updated by Alexander Nies 7 months ago

  • Subject changed from TYPO3 Recipients Empty in Email to Sender Finisher to TYPO3 Recipients Empty in Email to Sender Finisher empty after Overwrite
Actions #2

Updated by Daniel Goerz 15 days ago

  • Is duplicate of Bug #103867: Override finisher settings override array value with empty string added
Actions #3

Updated by Anonymous 13 days ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF