Deprecation: #94394 - Extbase Request setDispatched() and isDispatched()
See forge#94394
Description
To further prepare towards PSR-7 requests in Extbase, the two
methods TYPO3\
and
TYPO3\
have been
marked as deprecated.
Impact
Using the methods is discouraged. The Extbase dispatcher still recognizes them and acts accordingly, the methods do not raise a deprecation level log entry, though.
Affected Installations
Some Extbase based extensions may use set
, but
it's rather unlikely since that flag has been mostly used internally
through existing helper methods in Extbase controllers.
The extension scanner will find possible candidates.
Migration
Action dispatching in Extbase now depends on the returned response:
- A casual 2xx Response from a controller action that for instance contains HTML or Json stops Extbase dispatching, the response is later returned to the client.
- An Extbase
Forward
instructs the dispatcher to dispatch internally to another controller action.Response - A 3xx
Redirect
stops dispatching and is returned to the client to initiate some client redirect.Response