Breaking: #102763 - Extbase HashService usage replaced with Core HashService

See forge#102763

Description

All usages of the @internal class \TYPO3\CMS\Extbase\Security\Cryptography\HashService in TYPO3 have been removed and replaced by \TYPO3\CMS\Core\Crypto\HashService.

Impact

Custom extensions expecting \TYPO3\CMS\Extbase\Security\Cryptography\HashService as type of the property '$hashService of various @internal classes will result in a PHP Fatal error.

Affected installations

TYPO3 installations with custom extensions using one of the following:

  • Property $hashService of \TYPO3\CMS\Fluid\ViewHelpers\FormViewHelper

  • @internal property $hashService of class \TYPO3\CMS\Extbase\Mvc\Controller\ActionController

  • Property $hashService of internal class \TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfigurationService

  • Property $hashService of internal class \TYPO3\CMS\FrontendLogin\Configuration\RecoveryConfiguration

  • Property $hashService of internal class \TYPO3\CMS\FrontendLogin\Configuration\RecoveryConfiguration

  • Property $hashService of internal class \TYPO3\CMS\FrontendLogin\Controller\PasswordRecoveryController

  • Property $hashService of internal class \TYPO3\CMS\Form\Domain\Runtime\FormRuntime

  • Property $hashService of internal class \TYPO3\CMS\Form\Mvc\Property\TypeConverter\UploadedFileReferenceConverter

Migration

Custom extensions must be adapted to use methods of class \TYPO3\CMS\Core\Crypto\HashService.