Bug #88794
closedCall to undefined method TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::checkPassword() on report module
100%
Description
Error {#2795 ▼
#message: "Call to undefined method TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::checkPassword()"
#code: 0
#file: "/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php"
#line: 65
trace: {▼
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php:65 {▼
› if ($installToolPassword !== '' && $hashInstance === null) {
› $validPassword = !$hashFactory->checkPassword('joh316', $installToolPassword);
› } elseif ($installToolPassword === md5('joh316')) {
}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php:39 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Report/Status/Status.php:95 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Report/Status/Status.php:55 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Controller/ReportController.php:163 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Controller/ReportController.php:109 {▶}
TYPO3\CMS\Reports\Controller\ReportController->handleRequest() {}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/RouteDispatcher.php:87 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/RequestHandler.php:73 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/SiteResolver.php:59 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/AdditionalResponseHeaders.php:39 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/OutputCompression.php:45 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/LegacyBackendTemplateInitialization.php:42 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/BackendUserAuthenticator.php:70 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php:72 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/ForcedHttpsBackendRedirector.php:53 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/LockedBackendGuard.php:71 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php:58 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:67 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:98 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/Application.php:68 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:110 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/index.php:24 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/index.php:25 {▶}
The correct code would be `$hashFactory->get($installToolPassword, 'BE')->checkPassword('joh316', $installToolPassword)` ????
Updated by Mathias Brodala about 5 years ago
- Assignee set to Mathias Brodala
- Priority changed from Should have to Must have
- TYPO3 Version changed from 9 to 10
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318
Updated by Gerrit Code Review about 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318
Updated by Gerrit Code Review about 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61332
Updated by Mathias Brodala about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fdd8d972730b4aa4652c79f8d1513f68de93f1ed.