Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SylwesterDev opened this issue Jan 7, 2025 · 0 comments · May be fixed by #2205

Comments

@SylwesterDev
Copy link

SylwesterDev commented Jan 7, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant