Actions
Bug #59734
openTranslating a CE containing inline elements doesn't apply language to inline elements
Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2014-06-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Well this could be an OSI8 (user mistakes) but I've tried every possible combination of the flexform behavior configuration.
When I have a Content Element with a custom inline element configured by flexform and create some inline elements everything is fine. But when i choose to translate all contents to another language (localization) the inline elements are always active in the default language and every change will also be applied on default language elements.
Maybe the options localizationMode or localizeChildrenAtParentLocalization doesn't work?
Heres an example flexform field configuration which won't work fine with localization:
<config> <type>inline</type> <foreign_table>tx_tgmirrelinks_domain_model_link</foreign_table> <minitems>0</minitems> <maxitems>99</maxitems> <foreign_sortby>sorting</foreign_sortby> <foreign_match_fields> <fieldname>themenLinks</fieldname> </foreign_match_fields> <appearance> <useSortable>1</useSortable> <showPossibleLocalizationRecords>1</showPossibleLocalizationRecords> <showRemovedLocalizationRecords>1</showRemovedLocalizationRecords> <showSynchronizationLink>1</showSynchronizationLink> <createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle> </appearance> <behaviour> <localizationMode>select</localizationMode> <localizeChildrenAtParentLocalization>0</localizeChildrenAtParentLocalization> </behaviour> </config>Step by Step:
- Create a flexform with an inline element
- Create some inline elements and save the CE in the default language
- Go to the localization view of the "Page" view and choose "Copy default content elements / Standardinhalte kopieren"
- Open the translated CE and watch the inline records of the default language are activated
Actions