Issue Bug Resolved

#108809Free-mode content not shown in Language Comparison Mode when default language is empty

Eric Harrer 01/30/26, 10:40 updated 08/10/26, 20:00

Description

In the Page/Layout module’s Language Comparison Mode, content elements created in non-default languages using free mode ( l18n_parent = 0 ) are not displayed when the default language column contains no content elements. As a result, existing content in secondary languages is silently omitted from the comparison view.

Steps to reproduce
  1. Create a page with multiple languages.
  2. Do not add any content elements in the default language.
  3. Add one or more content elements in a non-default language using free mode ( l18n_parent = 0 ).
  4. Open the page in the Page or Layout module.
  5. Switch to Language Comparison Mode.

*Expected behavior*
Free-mode content elements from non-default languages are displayed even if the default language column is empty.

*Actual behavior*
No content is rendered. The comparison view remains empty.

*Technical background*
The Language Comparison template ( LanguageColumns.fluid.html ) relies on an iteration over the default language column ( <f:for each="{column.items}"> ) to create the first table row. Free-mode content is rendered exclusively during this first iteration using itemIterator.isFirst. If the default language column contains no items, the loop never executes, no initial row is created, and free-mode content from non-default languages is skipped entirely.

*Proposed solution*
Introduce a fallback rendering path that creates an initial comparison row when the default language column is empty and renders free-mode content from non-default languages, while keeping the existing behavior for connected translations unchanged.

Reviews 4

Files 1

History 724

  1. Eric Harrer commented <span data-processor="relativetime" data-value="2026-02-06T09:43:47+00:00" > 02/06/26, 09:43 </span>

    This behavior is related to the v14 change described in https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/14.0/Important-106649-DefaultLanguageBindingInPageModule.html.

    With TYPO3 v14, the Page/Layout module always uses default-language binding in Language Comparison mode once multiple languages are active. This exposed an unhandled edge case when the default language column contains no records.

    The proposed fix does not reintroduce the former v13 behavior, but adds a missing fallback for this specific situation within the current v14 rendering logic.

  2. Eric Harrer commented and changed attached image (1).png <span data-processor="relativetime" data-value="2026-03-06T11:44:47+00:00" > 03/06/26, 11:44 </span>

    Today, we explicitly tested the functionality of sorting in non-default-language columns for this patch in the backend. The sorting works without any problems.

    image%20%281%29.png

  3. Marcel Küpper commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-08-10T20:00:09+00:00" > 08/10/26, 20:00 </span>

    Applied in changeset commit:24f33e7def6d5589e933abb5d279eb3320c95266.