Actions
Bug #85168
closedLanguage synchronization fails for inline relations within inline relations
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2018-06-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The synchronization process will fail for synchronizing inline relations within inline relations when there are more than one language which should be synchronized from default or source language. Following error occures:
#1486233164: Child record was not processed
TCA of the main object:
[...] 'columns' => [ 'products' => [ 'exclude' => false, 'label' => 'LLL:EXT:my_ext/Resources/Private/Language/locallang_db.xlf:tx_myext_domain_model_productwrapper.products', 'config' => [ 'type' => 'inline', 'foreign_table' => 'tx_myext_domain_model_product', 'foreign_field' => 'productwrapper', 'foreign_sortby' => 'sorting', 'maxitems' => 9999, 'appearance' => [ 'collapseAll' => true, 'levelLinksPosition' => 'top', 'showSynchronizationLink' => 1, 'showPossibleLocalizationRecords' => 1, 'showAllLocalizationLink' => 1, 'useSortable' => true, 'expandSingle' => 1, 'enabledControls' => [ 'sort' => true, 'delete' => true, 'hide' => true, 'localize' => true, 'dragdrop' => true, ], ], ], ], ]
TCA of inline element:
'columns' => [ 'images' => [ 'exclude' => false, 'label' => 'LLL:EXT:my_ext/Resources/Private/Language/locallang_db.xlf:tx_myext_domain_model_product.images', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( 'images', [ 'appearance' => [ 'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference', 'collapseAll' => true, ], 'behaviour' => [ 'allowLanguageSynchronization' => true, ], 'foreign_types' => [ '0' => [ 'showitem' => ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette', ], \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [ 'showitem' => ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette', ], \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [ 'showitem' => ' --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette', ], ], 'maxitems' => 10, ], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] ), ], ]
Updated by Florian Wessels over 6 years ago
The problem is that
$this->isNestedElementCallRegistered($table, $uid, 'localize')
returns
true
in localize method of TYPO3\CMS\Core\DataHandling\DataHandler
.This will skip the localization process and the RuntimeException 1486233164 ("Child record was not processed") will be thrown.
Updated by Stephan Schuler about 6 years ago
Updated by Michael Stucki over 5 years ago
- Status changed from New to Resolved
This bug is a duplicate of #81314. Closing here...
Updated by Michael Stucki over 5 years ago
- Is duplicate of Bug #81314: doubled references upon related record change added
Updated by Gerrit Code Review almost 5 years ago
- Status changed from Closed to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60722
Updated by Michael Stucki almost 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset a0b9ca1ec0a3860aa0dfc318f3ca8e6d14b9593b.
Actions