Actions
Bug #85360
closedDoubled confirmation message after form submit
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-06-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
After a form was submitted, the content of the Confirmation finisher is shown twice.
This is because the finisher uses setContent on the response object, which is passed down from the controller via the rendering context. Extbase then takes that same content and calls appendContent, on the same instance, with the content it already contains. This results in the same message being showed twice.
This can be avoided by using a separate instance of the Response class, within the form context.
Affects 8 LTS and current master
Actions