Project

General

Profile

Actions

Bug #47983

closed

Strict Standards: Static function TYPO3\CMS\Core\Resource\Driver\AbstractDriver::verifyConfiguration()

Added by Julian Walter over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
felogin
Target version:
-
Start date:
2013-05-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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 -.-

Actions #1

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.

Actions #2

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.

Actions #3

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

Actions #4

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

Actions #5

Updated by Łukasz Jurys almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF