Project

General

Profile

Actions

Bug #93111

closed

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

Added by Oliver Bartsch over 3 years ago. Updated over 3 years 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 2 (0 open2 closed)

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
Actions

Also available in: Atom PDF