Bug #88863
closedoverrideChildTca is not used in DataHandler.php
0%
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',
]
],
...
...
'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',
]
]
]
]
]
]
...
...
'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';)
Updated by Oliver Bartsch about 4 years ago
- Related to Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca added
Updated by Oliver Bartsch about 4 years ago
- Related to deleted (Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca)
Updated by Oliver Bartsch about 4 years ago
- Has duplicate Bug #89446: DataHandler does not parse HTML of fields defined as richtext within overrideChildTca added
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.
I'll close the issue for now as rejected.