#102509Changes in FileReferences are not copied to other languages with l10n_mode=exclude
Description
Changes to a FileReference are not copied to the other languages after a page is saved for the first time.
e.g.:
'someImage' => [
'label' => 'LLL:EXT:myExt/Resources/Private/Language/locallang_tca.xlf:pages.someImage',
'l10n_mode' => 'exclude',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('someImage')
]
Steps to reproduce:
- Add the image to the page and save it.
- Create the translation and save.
- Make changes to the original FileReference and save.
- Load the FileReference e.g. with \TYPO3\CMS\Frontend\Resource\FileCollector::getFileReferences
- Please note that the changes are only made for the first object language and are not transferred to the translated FileReferences.
expected behaviour:
All changes to a FileReference are copied to the other existing languages when a FileReference is changed and the l10n_mode is excluded (e.g. crop, alt, etc).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Changes in FileReferences are not copied to other languages with l10n_mode=exclude Resolves: #102509 Releases: main