Project

General

Profile

Actions

Bug #103941

open

TYPO3 Recipients Empty in Email to Sender Finisher empty after Overwrite

Added by Alexander Nies 3 months ago. Updated 3 months ago.

Status:
New
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());
Actions #1

Updated by Alexander Nies 3 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

Also available in: Atom PDF