Issue Bug Closed

#104825Configure ViewFactory for InstallTool

Simon Praetorius 09/04/24, 18:58 updated 10/15/24, 09:06

Description

Currently, the new ViewFactory seems to not be configured properly for the minimal DI of the InstallTool. This is reproducible by:

  • enabling InstallTool
  • configuring email notifications for InstallTool logins
  • logging in to the InstallTool

During the login, the InstallTool attempts to send the notification via FluidEmail, which requires the new ViewFactory.

> Cannot instantiate interface TYPO3\CMS\Core\View\ViewFactoryInterface

Configuration necessary to trigger the error:

$GLOBALS['TYPO3_CONF_VARS']['BE']['warning_email_addr'] = 'user@example.com';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] = 'user@example.com';

Reviews 1