Project

General

Profile

Actions

Bug #89446

closed

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

Added by Tobias D about 5 years ago. Updated almost 3 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 #1

Updated by Oliver Bartsch about 4 years ago

  • Related to Bug #88863: overrideChildTca is not used in DataHandler.php added
Actions #2

Updated by Oliver Bartsch about 4 years ago

  • Related to deleted (Bug #88863: overrideChildTca is not used in DataHandler.php)
Actions #3

Updated by Oliver Bartsch about 4 years ago

  • Is duplicate of Bug #88863: overrideChildTca is not used in DataHandler.php added
Actions #4

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Rejected

Yeah. That's a limitation of 'overrideChildTca': This is a "display" property, DataHandler simply does not account for it. Implementing this would requires a significant rewrite of main DH logic and is unlikely to happen soon.

https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/Type/Inline/Properties/OverrideChildTCa.html

I'll close the issue for now as rejected.

Actions

Also available in: Atom PDF