Actions
Bug #90997
openDataHandler tries to translate relations that are set as non-translatable
Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2020-04-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
localization relations
Complexity:
Is Regression:
Sprint Focus:
Description
Given a TCA like this
table1.php
return [
'ctrl' => [
...
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
],
...
'columns' => [
'table2' => [
'label' => 'Label',
'l10n_mode' => 'exclude',
'config' => [
'type' => 'inline',
'foreign_table' => 'table2',
'foreign_field' => 'title',
],
],
],
];
table2.php
<?php declare(strict_types=1);
return [
'ctrl' => [
...
// no language_field
],
...
'columns' => [
'title' => [ ... ]
]
];
I get : Localization failed; "languageField" and "transOrigPointerField" must be defined for the table table2
when I try to translate table1.
I would assume from https://docs.typo3.org/m/typo3/reference-tca/master/en-us/Ctrl/Index.html that such a configuration is possible. At least I cannot see that these fields are required.
Files
Updated by Vladimir Falcon over 3 years ago
I am having exactly the same problem.
TYPO3 V 9.5.26
PHP 7.4
Does anyone knows how to correct this problem?
Updated by Tymoteusz Motylewski 3 months ago
- Related to Bug #90170: Datahandler localize translates inline records with non-translatable parent record added
Actions