Actions
Bug #93544
openTemplate overriding for FluidMail ignoring index of path
Start date:
2021-02-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
We have to extensions: cart (cart extension with default email templates) and lst_lwo which overrides some of the cart email templates
Cart ext_localconf.php:
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths']['1588829280'] = 'EXT:cart/Resources/Private/Templates/';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['partialRootPaths']['1588829280'] = 'EXT:cart/Resources/Private/Partials/';
lst_lwo ext_localconf.php:
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][1613456229] = 'EXT:lst_lwo/Resources/Private/Extensions/Cart/Templates/';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['partialRootPaths'][1613456229] = 'EXT:lst_lwo/Resources/Private/Extensions/Cart/Partials/';
Results in the image "Backend $GLOBALS[‘TYPO3_CONF_VARS’]".
If I debug in FE (instance of FluidEmail), then I find the following (see other image "Frontend debug of FluidEmail instance").
Although the index of "lst_lwo" overriding is higher then the one of "cart", cart templates comes on last position.
Workaround: If I add a dependency to "cart" in "lst_lwo", all works like expected.
Files
Actions