Project

General

Profile

Actions

Bug #97516

closed

Error in password reset when login.loginLogo is saved in fileadmin

Added by Paul Keller over 2 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2022-04-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

When the login.loginLogo is saved in fileadmin (as one of the possible proposed options) the email for the passwort reset function can not be generated and leads to an error. This function expects the loginLogo to be saved in an Extension (what of course would be better).
So either the description of login.loginLogo in the backend has to be adjusted (as breaking change) or the bug has to be fixed.


Files


Related issues 3 (2 open1 closed)

Related to TYPO3 Core - Bug #97733: Test mail setup fails with resources from fileadminUnder Review2022-06-05

Actions
Related to TYPO3 Core - Bug #96063: custom Backend Login Logo within fileadmin breaks MAIL functionalityUnder Review2021-11-23

Actions
Related to TYPO3 Core - Bug #102545: Logical bug -> Extension Configuration-> Logo allows differnet sources this fails then sending sys-mails (e.g. by sys-ext form)Closed2023-11-28

Actions
Actions #1

Updated by Oliver Hader over 2 years ago

  • Status changed from New to Needs Feedback

Can you please provide the error message or stack trace the is being shown in this scenario? Thanks!

Actions #2

Updated by Riccardo De Contardi 8 months ago

I tried the following test with TYPO3 13.1.0-dev (latest main)

Prerequisites

  • clean TYPO3 installation
  • an "admin" user with the [email] field filled (e.g. )
  • a file in fileadmin e.g. fileadmin/Images/logo.png

Execution

  1. Admin tools > settings > Extension Configuration > Backend > login.loginLogo > set it to fileadmin/Images/logo.png ; save and exit
  2. Clear all caches
  3. exit TYPO3
  4. On login screen, the logo is changed (OK)
  5. Click on "Forgot your password?" link and enter the email of "admin" user and click the button "Get Reset Link"

Result

An exception occurs:

(1/1) #1630089406 TYPO3\CMS\Core\Resource\Exception\InvalidFileException
Resource paths must start with "EXT:" 

The Log module has the entry:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1630089406: Resource paths must start with "EXT:" | TYPO3\CMS\Core\Resource\Exception\InvalidFileException thrown in file /var/www/html/typo3/sysext/core/Classes/Utility/PathUtility.php in line 100. Requested URL: https://typo3.main.it.ddev.site:8443/typo3/login/password-reset/initiate-reset?loginProvider=1433416747

Attached: the full error page

[addendum]

  • with the default logo everything works as expected
  • I tested with TYPO3 12.4.12 and a login.loginLogo path that begins with EXT: and everything works as expected
Actions #3

Updated by Riccardo De Contardi 8 months ago

  • Related to Bug #97733: Test mail setup fails with resources from fileadmin added
Actions #4

Updated by Riccardo De Contardi 8 months ago

  • Related to Bug #96063: custom Backend Login Logo within fileadmin breaks MAIL functionality added
Actions #5

Updated by Riccardo De Contardi 8 months ago

  • Related to Bug #102545: Logical bug -> Extension Configuration-> Logo allows differnet sources this fails then sending sys-mails (e.g. by sys-ext form) added
Actions #6

Updated by Riccardo De Contardi 5 months ago

  • Status changed from Needs Feedback to Closed

For issue triaging I close this issue in favor of #96063

If you think that this is the wrong decision, please let me know on Slack and I'll reopen it

Actions

Also available in: Atom PDF