Project

General

Profile

Actions

Bug #59734

open

Translating a CE containing inline elements doesn't apply language to inline elements

Added by Teamgeist Medien over 10 years ago. Updated about 2 years ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
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

Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #56882: Can not translate IRRE elementsClosed2014-03-13

Actions
Related to TYPO3 Core - Bug #63092: Inline/IRRE records: language field of child records is not updated when modifying parent language field - e.g. problematic for sys_file_referenceRejectedJo Hasenau2014-11-20

Actions
Related to TYPO3 Core - Bug #48883: Wrong sys_language_uid in sys_file_referenceClosed2013-06-05

Actions
Related to TYPO3 Core - Bug #62562: Flexforms - Translating with inline relations doesn't workUnder ReviewDaniel Alder2014-10-30

Actions
Actions

Also available in: Atom PDF