Actions
Bug #77264
closedOld image rendering settings are not overriden with the fallback ones [tt_content.image.20.rendering]
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2016-07-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Good afternoon :)
So I lost some hours figuring out whats happening until I came across TYPO3\CMS\CssStyledContent\Controller\CssStyledContentControler at line 515 where rendering settings are replaced with fallbackRendering settings with array_replace_recursive().
My Problem is that the old settings from singleNoCaption are being kept which produces me many html errors. Is that a feature?
This would be a fast solution I need:
if ($fallbackRenderMethod && is_array($conf['rendering.'][$fallbackRenderMethod . '.'])) { if(is_array($conf['rendering.'][$fallbackRenderMethod . '.']['singleStdWrap.'])){ unset($conf['singleStdWrap.']); } $conf = array_replace_recursive($conf, $conf['rendering.'][$fallbackRenderMethod . '.']); }
Actions