Project

General

Profile

Actions

Bug #88863

closed

overrideChildTca is not used in DataHandler.php

Added by Martin Waue almost 5 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

Also available in: Atom PDF