Skip to content

BUG: Nested grid-elements are not overlayed/translated properly in multilanguage site in version 10.1.0. #2204

@SylwesterDev

Description

@SylwesterDev

I have checked that the bug exists in the dev-development branch
Yes

I have checked that there are no already open issues or recently closed issues about this bug
Yes

Describe the bug
By multilanguages pages grid elements always displaying "default" language, and not the selected one.

To Reproduce
Steps to reproduce the behavior:

  1. Create page with at least 2 languages. (in my case DE as default and PL as secondary language)
  2. Create grid element container and fill it with some content. Do the same for second language, or just translate default language elements. In my test case I have the content in "connected mode".
  3. Open page using secondary language (in my case PL).
  4. The grid container itself as well as content elements inside grid container are shown in default language (DE), and not as expected in secondary language (PL).

Expected behavior
Expected is to display content in selected language.

Screenshots

image

image

image

image

Additional context
The function "getSingle" in class "FluidTYPO3\Flux\Service\WorkspacesAwareRecordService" return data for selected row without variable "_LOCALIZED_UID", so it deliver different data than previous implementation "$record = $contentObject->data;". The "_LOCALIZED_UID" is missing so the content elements cannot be rendered in correct language.

Here small diff which is fixing the issue:
flux-lang.txt

Issue occurs on following setup:

  • Typo3: 11.5.41
  • Flux 10.1.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions