Project

General

Profile

Actions

Bug #93940

open

Wrong path to backend login logo in system email

Added by Patrick Lenk about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Mailer API
Target version:
-
Start date:
2021-04-18
Due date:
% Done:

0%

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

Description

The rendered system email header logo image path for the fluid variable {typo3.systemConfiguration.backend.loginLogo} is wrong.

In my scenario, the backend loginLogo setting is set to EXT:sitepackage/Resources/Public/Images/Backend/login-logo.png.

This condition in private\typo3\sysext\core\Resources\Private\Layouts\SystemEmail.html is true and will render the image:

<f:if condition="{typo3.systemConfiguration.backend.loginLogo}">
    <f:then>
        <f:image src="{typo3.systemConfiguration.backend.loginLogo}" absolute="1" alt="TYPO3 Logo" height="41" width="150" />
    </f:then>
...

The path to the image is unfortunately wrong for users in the final output, the image can never be loaded:

<img alt="TYPO3 Logo" src="http://typo3_10.4_prod/vendor/bin/typo3/typo3temp/assets/_processed_/c/9/csm_login-logo_90bde36d29.png" width="150" height="41" />


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #99350: Mail for reset password has broken logo if triggered by CLIUnder Review2022-12-12

Actions
Actions #1

Updated by Patrick Lenk about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Patrick Lenk almost 3 years ago

Seems that the path is only wrong if the scheduler is executed via cli (cronjob). The logo path is correct if the task is executed manually per backend.

Additional the custom system email fluid layout $GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:sitepackage/Resources/Private/Layouts/SystemEmail'; is not taken if task is executed via cli.

Actions #3

Updated by Rémy DANIEL about 1 year ago

  • Related to Bug #99350: Mail for reset password has broken logo if triggered by CLI added
Actions

Also available in: Atom PDF