Bug #93940
openWrong path to backend login logo in system email
0%
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" />
Updated by Patrick Lenk over 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.
Updated by Rémy DANIEL almost 2 years ago
- Related to Bug #99350: Mail for reset password has broken logo if triggered by CLI added