Project

General

Profile

Actions

Bug #89446

closed

DataHandler does not parse HTML of fields defined as richtext within overrideChildTca

Added by Tobias D over 4 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2019-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Overriding a field to be a richtext within overrideChildTca, like in the following example, does not trigger the HTML-parsing within DataHandler::checkValueForText():

'columnsOverrides' => [
    'foobar' => [
        'config' => [
            'overrideChildTca' => [
                'columns' => [
                    'text' => [
                        'config' => [
                            'enableRichtext' => true
                        ]
                    ]
                ]
            ]
        ]
    ]
]

The DataHandler only checks the config of the field itself and columnsOverrides of the same TCA, but not overrideChildTca of the TCA of the parent element.
This was found in TYPO3 v9.5.10 with php7.2, but probably also applies to other versions.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #88863: overrideChildTca is not used in DataHandler.phpRejected2019-07-30

Actions
Actions

Also available in: Atom PDF