Bug #98222
closedInconsistent form rendering after #93887
0%
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 />
.)
Updated by Elias Häußler about 2 years ago
- Related to Bug #93887: Ext:Form Caching Determination breaking Ajax Request added
Updated by Elias Häußler about 2 years ago
- Related to Bug #92406: Using formvh:render without extbase context results in Exception added
Updated by Oliver Hader about 2 years ago
- Related to Bug #98084: Honeypot not working anymore? added
Updated by Helmut Hummel over 1 year ago
@Elias Häußler since #93887 was reverted. This can be closed, right?
Updated by Elias Häußler over 1 year ago
@Helmut Hummel Sure, it can be closed. Thanks for the reminder! Can you close it? I seem to lack permissions.
Updated by Helmut Hummel over 1 year ago
- Status changed from New to Closed
@Elias Häußler Thanks for the quick feedback! I'm closing it now.