Deprecation: #94394 - Extbase Request setDispatched() and isDispatched()¶
See Issue #94394
To further prepare towards PSR-7 requests in Extbase, the two
TYPO3\CMS\Extbase\Mvc\Request->isDispatched() have been
marked as deprecated.
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.
Some Extbase based extensions may use
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.
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
ForwardResponseinstructs the dispatcher to dispatch internally to another controller action.
- A 3xx
RedirectResponsestops dispatching and is returned to the client to initiate some client redirect.