Issue Bug Closed

#85360Doubled confirmation message after form submit

Georg Großberger 06/23/18, 11:31 updated 07/22/18, 17:20

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

Reviews 2