Bug #47983
closedStrict Standards: Static function TYPO3\CMS\Core\Resource\Driver\AbstractDriver::verifyConfiguration()
100%
Description
The error is thrown when you try to log in with invalid credentials and then refresh the page and submit the formular again.
Sometimes it is thrown without sending the formular again, just at the first try.
I don't really know if the Bug comes from that:
I uncommented one line in the FrontendLoginController.php (line 549 = '$markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('welcome_message', $this->conf['welcomeMessage_stdWrap.']);') and added a new one '$markerArray['###STATUS_MESSAGE###'] = '';'
But since I need to modify some other things in the controller to get some ldap integration at the 'Password forgotten' feature e.g. I would like to know why the AbstractDriver throws this error -.-
Updated by Thorsten Kahler over 11 years ago
- Status changed from New to Accepted
- Assignee set to Andreas Wolf
- Complexity changed from hard to easy
Seems like method TYPO3\CMS\Core\Resource\Driver\LocalDriver::verifyConfiguration()
has been overlooked during some refactoring: it's the only static method in this class.
And IMO a verify...
method should not return void
: It's the explicit purpose of verification methods to check things thus they should not throw an exception if the verification fails; else the verification could be skipped at all.
Updated by Julian Walter over 11 years ago
i have something to add:
Strict Standards: Declaration of TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler::injectRequestBuilder() should be compatible with TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler::injectRequestBuilder(TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder $requestBuilder) in \typo3\sysext\fluid\Classes\Core\Widget\WidgetRequestHandler.php on line 98
Strict Standards: Non-static method TYPO3\CMS\Extbase\Utility\LocalizationUtility::setLanguageKeys() should not be called statically in typo3\sysext\extbase\Classes\Utility\LocalizationUtility.php on line 167
those two errors are thrown at fe login, too.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Accepted 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/27506
Updated by Gerrit Code Review almost 11 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/27506
Updated by Łukasz Jurys almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fba4b679588401780497eab63cb9add50c861fa3.