You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify that the global Variable exists and is of type ServerRequestInterface before using it.
The command map will exit in case that the request is not available.
Refs: Kephson#30
Summary / Description
The global variable
TYPO3_REQUEST
is accessed without checking the existence.After that the request ist used to retrieve the query parameters.
Within the CLI context this leads to the exception:
Call to a member function getQueryParams() on null
See: Classes/DataHandler/ProcessCmdmap.php
Version
development branch for TYPO3 12
Steps to reproduce
Expected behaviour
The command map should not be executed.
Actual behavior
The CLI command will leads to an exception.
Additional
Possible fix
Check if the server request is available or stop processing
The text was updated successfully, but these errors were encountered: