Project

General

Profile

Actions

Bug #77264

closed

Old image rendering settings are not overriden with the fallback ones [tt_content.image.20.rendering]

Added by Deividas Simas over 7 years ago. Updated about 4 years ago.

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 #1

Updated by Deividas Simas over 7 years ago

  • Target version deleted (Candidate for patchlevel)
Actions #2

Updated by Deividas Simas over 7 years ago

Hello?

Is something not clear enough?

Please keep me up to date.

Actions #3

Updated by Susanne Moog over 6 years ago

  • Category changed from Content Rendering to Frontend
Actions #4

Updated by Susanne Moog about 4 years ago

  • Status changed from New to Closed

CSS Styled Content has meanwhile be removed from the core. If the same thing happens with fluid styled content, feel free to open a new issue.

Actions

Also available in: Atom PDF