Project

General

Profile

Actions

Bug #88863

closed

overrideChildTca is not used in DataHandler.php

Added by Martin Waue over 4 years ago. Updated over 2 years ago.

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

0%

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

Description

\TYPO3\CMS\Core\DataHandling\DataHandler->checkValue()

// Getting config for the field
$tcaFieldConf = $GLOBALS['TCA'][$table]['columns'][$field]['config'];

e.g.
$table = 'example'
$filed = 'title'

'title' is an input field in 'example'. If I use 'example' as an inline element where 'title' should be used as a text field with RTE the 'overrideChildTca' is not used.

TCA title field (normal use)
...
'title' => [
            'config' => [
                'type' => 'input',
                'size' => 60,
                'eval' => 'required',
            ]
        ],
...

TCA title field (as part of an inline element)
            ...
            'config' => [
                'overrideChildTca' => [
                    'columns' => [
                        'title' => [
                            'config' => [
                                'type' => 'text',
                                'enableRichtext' => true,
                                'richtextConfiguration' => 'myrteconfig',
                            ]
                        ]
                    ]
                ]
            ]
        ]
...

(For me it is an issue because I want to use a transformation service
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_parsehtml_proc.php']['transformation']['tx_my_transformation'] = Me\My\Service\RteTransformationService';)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTcaRejected2019-10-18

Actions
Actions #1

Updated by Oliver Bartsch over 3 years ago

  • Related to Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca added
Actions #2

Updated by Oliver Bartsch over 3 years ago

  • Related to deleted (Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca)
Actions #3

Updated by Oliver Bartsch over 3 years ago

  • Has duplicate Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca added
Actions #4

Updated by Christian Kuhn over 2 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