-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
felogin plugin password recovery broken with version 10.0.x #2126
Comments
Follow up I kept debugging and found that if I replace ConfigurationManager by ConfigurationManagerInterface in Here is the dependency injection sequence with this change :
To compare, here is the dependency injection sequence that throw error :
|
If I understood what I've debugged, the sequence is :
|
Can confirm this error. I also encounter it when try to clean up the flexform records via CLI vendor/bin/typo3 cleanup:flexforms
Updates all database records which have a FlexForm field and the XML data does not match the chosen datastructure.
==================================================================================================================
! [NOTE] Found 1313 records with wrong FlexForms information.
Cleanup process starting now.
-----------------------------
Updated FlexForm in record "tt_content:1354".
Uncaught TYPO3 Exception TYPO3\CMS\Core\Http\ApplicationType::fromRequest(): Argument #1 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /Users/user/Sites/example.com/public/typo3conf/ext/flux/Classes/Service/RecordService.php on line 150
thrown in file /Users/user/Sites/example.com/public/typo3/sysext/core/Classes/Http/ApplicationType.php
in line 62 I deinstalled ext:flux and was able to repair the records without any further issue. |
@NamelessCoder I've just done a quick and unique test with the latest development and it seems to be working now. No error and reset email has been sent. Thank you very much ! 👍 |
@NamelessCoder @sdelcroix Works for me too 👍 Thanks! |
Closing as solved. |
Hi :)
On TYPO3v11, when I click on the "forgot password" link of felogin frontend plugin, I got the error saying "Either "$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']" or extension key "plugin.tx_felogin_login.settings.email_fromName" cannot be empty!".
After debugging, I noticed that plugin.tx_felogin_login.settings was empty.
It's empty because
$configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_SETTINGS);
instanciates aTYPO3\CMS\Extbase\Configuration\BackendConfigurationManager
and not aTYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager
.After digging more, it's because $GLOBALS['TYPO3_REQUEST'] is null in this part of Extbase ConfigurationManager :
Some more debugging stuff leads me to the fact that it may be related to FluidTYPO3\Flux\Service\TypoScriptService that gets ConfigurationManagerInterface injected at a time where $GLOBALS['TYPO3_REQUEST'] is null.
To reproduce this issue :
Our Flux-based extension registers provider like this :
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('Rvvnfluidcolumns', 'Content');
Our Content Controller is empty :
TypoScript setup is very simple :
The text was updated successfully, but these errors were encountered: