Issue Bug Closed

#107467($newUserFullName) must be of type string, null given in SetupModuleController.php

Andy Meier 09/17/25, 08:23 updated 10/02/25, 13:11

Description

>TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::__construct(): Argument #6 ($newUserFullName) must be of type string, null given, called in /var/www/html/typo3/vendor/typo3/cms-setup/Classes/Controller/SetupModuleController.php on line 271

https://github.com/TYPO3/typo3/blob/main/typo3/sysext/setup/Classes/Controller/SetupModuleController.php#L271

$contextData = new ContextData(
                      loginMode: 'BE',
                      currentPasswordHash: $this->getBackendUser()->user['password'],
                      newUserFullName: $be_user_data['realName']
);

should be

$contextData = new ContextData(
                      loginMode: 'BE',
                      currentPasswordHash: $this->getBackendUser()->user['password'],
                      newUserFullName: $this->getBackendUser()->user['realName']
);

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2025-10-02T13:11:21+00:00" > 10/02/25, 13:11 </span>

    closing as duplicate of #107592