Skip to content
Snippets Groups Projects
Commit 9f933f2c authored by Ralf Zimmermann's avatar Ralf Zimmermann Committed by Oliver Hader
Browse files

[BUGFIX] Ensure uncached forms in case of POST requests

A new `FormRequestHandler` has been introduced as entry point which
takes care of creating and rendering the actual `FormRuntime`.
Independent of the current application dispatcher (either the
default `FormFrontendController`, any custom Extbase controller
or a TypoScript `FLUIDTEMPLATE` cObject) any processing will
end up here.

To ensure proper caching, it is important to separate the two main
actions `render` and `perform`, which unfortunately cannot be resolved
easily, especially when using custom Extbase controller actions.
The term uncached refers to using cObject `USER_INT` instead of `USER`.

More details about the process flow are described in
`\TYPO3\CMS\Form\Core\FormRequestHandler`, introduced by this change.

Resolves: #93887
Resolves: #92406
Releases: main, 11.5, 10.4
Change-Id: I0b98d39f04b6c70ea370200c53316b381019dd2a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75013


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarwaldhacker <hello@waldhacker.dev>
Tested-by: default avatarBjörn Jacob <bjoern.jacob@tritum.de>
Tested-by: default avatartimobert <tobert@w-commerce.de>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarwaldhacker <hello@waldhacker.dev>
Reviewed-by: default avatarBjörn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatartimobert <tobert@w-commerce.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 08b7daa5
Showing with 372 additions and 151 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment