Issue Task Resolved

#111284Sites module overview fails for sites without language 0

Oliver Bartsch 10/29/26, 22:22 updated 11/01/26, 16:40

Description

No description.

Reviews 3

History 59

  1. Oliver Bartsch commented and changed TYPO3 Version 15 14 <span data-processor="relativetime" data-value="2026-10-29T22:23:51+00:00" > 10/29/26, 22:23 </span>

    The tiles view (default) of the System > Sites overview renders the flag and title of {page.siteConfiguration.allLanguages.0}. As getAllLanguages() is keyed by languageId, this is null for a site that does not configure languageId 0, and the whole module fails with:

    TypeError: IconFactory::getIcon(): Argument #1 ($identifier) must be of type string, null given

    Steps to reproduce:
    1. Create a site config.yaml whose languages only contain languageId 1 and 2 (no 0).
    2. Open System > Sites in the tiles view.

    Expected: the overview renders and shows the default language of the site (Site::getDefaultLanguage()).

  2. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-01T15:50:14+00:00" > 11/01/26, 15:50 </span>

    Applied in changeset commit:2a0c7901a16e42883c7cd7e0a5aff914695656ac.

  3. Gerrit Code Review pushed patch set 2 for 14.3 to change 97280 status Resolved Under Review <span data-processor="relativetime" data-value="2026-11-01T16:19:41+00:00" > 11/01/26, 16:19 </span>

  4. Oliver Bartsch commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-11-01T16:40:14+00:00" > 11/01/26, 16:40 </span>

    Applied in changeset commit:29095c04178580d3b08d2a91393ac9b89f91ca1d.