Project

General

Profile

Actions

Bug #85360

closed

Doubled confirmation message after form submit

Added by Georg Großberger over 6 years ago. Updated over 6 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #84495: Confirmation finisher duplicate outputClosed2018-03-20

Actions
Actions

Also available in: Atom PDF