Project

General

Profile

Actions

Bug #96063

open

custom Backend Login Logo within fileadmin breaks MAIL functionality

Added by Robert Breithuber over 2 years ago. Updated about 1 year ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-11-23
Due date:
% Done:

0%

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

Description

affected TYPO3 Version: 11.5.3

how to reproduce:

1) Extension Configuration -> Backend -> Login -> Logo:
set this value to a fileadmin-path, e.g. fileadmin/images/login-logo.png

2) Test Mail Setup:

fails with message:

Could not deliver mail Please verify $GLOBALS['TYPO3_CONF_VARS']['MAIL'][*] settings are valid. Error message: Resource paths must start with "EXT:"

Setting a path via EXT:my_theme/... works for mail but the image is not shown at the login from

changing the value to //domain/fileadmin/images/login-logo.png works for both, mail and login form.


Related issues 8 (4 open4 closed)

Related to TYPO3 Core - Bug #100078: Embed TYPO3 logo in SystemLayout Fluid email layoutClosed2023-03-04

Actions
Related to TYPO3 Core - Bug #100081: Show correct alt text in SystemEmail if custom logo is configuredResolved2023-03-04

Actions
Related to TYPO3 Core - Bug #100148: layout SystemEmail should not show URL if URL is not setUnder ReviewSybille Peters2023-03-12

Actions
Related to TYPO3 Core - Bug #97516: Error in password reset when login.loginLogo is saved in fileadminNeeds Feedback2022-04-29

Actions
Has duplicate TYPO3 Core - Bug #96066: Wrong configuration hint because of changed behaviour at Install Tool Testmail Closed2021-11-24

Actions
Has duplicate TYPO3 Core - Bug #96474: Error Mail if EXTENSION=>backend=>loginLogo is absolute PathClosed2022-01-06

Actions
Has duplicate TYPO3 Core - Bug #97733: Test mail setup fails with resources from fileadminUnder Review2022-06-05

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

Actions
Actions #1

Updated by Georg Ringer over 2 years ago

  • Has duplicate Bug #96066: Wrong configuration hint because of changed behaviour at Install Tool Testmail added
Actions #2

Updated by Robert Breithuber over 2 years ago

  • Subject changed from custom Backend Login Logo within fileadmin breaks MAIL functionallity to custom Backend Login Logo within fileadmin breaks MAIL functionality
Actions #3

Updated by Andreas Kienast about 2 years ago

  • Has duplicate Bug #96474: Error Mail if EXTENSION=>backend=>loginLogo is absolute Path added
Actions #4

Updated by Thomas Anders almost 2 years ago

I can confirm this issue in 11.5.9

# breaks testmail functionality
/fileadmin/.../logo.svg
fileadmin/.../logo.svg

# working
EXT:myext/Resources/Public/Images/logo.svg
Actions #5

Updated by Thomas Sam Wittich almost 2 years ago

Hi guys,

additional info:

I tried to set the login-log relative to the extension's path, so it begins with EXT:

EXT:bs_template/../../../fileadmin/Logo.png

The outcome of it is the similar to the error described in this issue, but different:

Could not deliver mail
Please verify $GLOBALS['TYPO3_CONF_VARS']['MAIL'][*] settings are valid. Error message: "EXT:bs_template/../../../fileadmin/Logo.png" is expected to be in public directory, but is not

I had been glad to find this issue to solve my problem with testing mail setup until i found it throws another error.

Thank you considering to fix this bug. (used Typo3-Version 11.5.10)

Thomas

Actions #6

Updated by Thomas Sam Wittich almost 2 years ago

Hi guys,

i moved the Logo to the path EXT:bs_template/Resources/Public/...
So, that works.
Further, would still be great to have it fixed since

  • the describtion for the backend logo settings explizitly has an example for /fileadmin/...
  • the error message in the test mail setup function is totally misleading

Thank you, Thomas

Actions #7

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #8

Updated by Mario Lubenka over 1 year ago

  • Has duplicate Bug #97733: Test mail setup fails with resources from fileadmin added
Actions #9

Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #10

Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #11

Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #12

Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #13

Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #14

Updated by Gerrit Code Review over 1 year ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #15

Updated by Gerrit Code Review over 1 year ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #16

Updated by Gerrit Code Review over 1 year ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #17

Updated by Gerrit Code Review over 1 year ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #18

Updated by Gerrit Code Review over 1 year ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #19

Updated by Gerrit Code Review over 1 year ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #20

Updated by Gerrit Code Review over 1 year ago

Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #21

Updated by Gerrit Code Review over 1 year ago

Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #22

Updated by Gerrit Code Review over 1 year ago

Patch set 16 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #23

Updated by Lukas Dörr over 1 year ago

  • PHP Version changed from 7.4 to 8.1
Actions #24

Updated by Gerrit Code Review about 1 year ago

Patch set 17 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #25

Updated by Gerrit Code Review about 1 year ago

Patch set 18 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75727

Actions #26

Updated by Torben Hansen about 1 year ago

  • Related to Bug #100078: Embed TYPO3 logo in SystemLayout Fluid email layout added
Actions #27

Updated by Sybille Peters about 1 year ago

  • Related to Bug #100081: Show correct alt text in SystemEmail if custom logo is configured added
Actions #28

Updated by Sybille Peters about 1 year ago

  • Related to Bug #100148: layout SystemEmail should not show URL if URL is not set added
Actions #29

Updated by Česlav Przywara 5 months ago

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

Updated by Riccardo De Contardi 20 days ago

  • Related to Bug #97516: Error in password reset when login.loginLogo is saved in fileadmin added
Actions

Also available in: Atom PDF