Bug #93111

RuntimeException since ResetPasswordCommand does not set applicationType on faking a request object

Added by Oliver Bartsch 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Category:
CLI
Target version:
Start date:
2020-12-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The reset password command uses the method createFakeWebRequest to create a PSR-7. Since FluidEmail uses TSFE, TSFE:::getGlobalInstance() is called from the service container. This method however checks since #92953 for the application type. Since the application type is not set on faking the request, this fails and leads to: 'No valid attribute "applicationType" found in request object.'


Related issues

Related to TYPO3 Core - Task #92953: Drop usages of TYPO3_MODE and TYPO3_REQUESTTYPEClosed2020-11-30

Actions
Related to TYPO3 Core - Task #92951: Add application type to requestClosed2020-11-29

Actions

Also available in: Atom PDF