Issue Bug Closed

#98222Inconsistent form rendering after #93887

Elias Häußler 08/29/22, 08:14 updated 06/29/23, 19:31

Description

The changed introduced with #93887 / #92406 introduced a change in behavior concerning form rendering after submit:

I noticed with EXT:form_consent, that the Render.html template is not rendered on form submit anymore. That’s probably because the controller’s perform action is now rendered cached and the FormRequestHandler – which is used as “replacement” – is only responsible for the <formvh:render> part in the template. Therefore, everything else in the template is not rendered anymore, especially the <f:flashMessages /> VH.

I noticed this when running tests for EXT:form_consent with TYPO3 11.5.15, see https://github.com/eliashaeussler/typo3-form-consent/runs/8011130200?check_suite_focus=true. Currently, because of that, EXT:form_consent can still not be used properly with TYPO3 >= 11.5.13 (Background: If there’s an error in the finisher of EXT:form_consent, a flash message is generated and finisher invocation is cancelled. Prior to the introduced change, the flash message was shown in FE, now it’s hidden because of the missing rendering of <f:flashMessages />.)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.