Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • backend
  • Classes
  • Controller
  • PageLayoutController.php
Find file BlameHistoryPermalink
  • Oliver Bartsch's avatar
    [BUGFIX] Handle function switch in page module · 07aff9ef
    Oliver Bartsch authored Sep 09, 2021 and Georg Ringer's avatar Georg Ringer committed Sep 09, 2021
    Switching from "Languages" to "Columns" mode
    in the page module, while having "All languages"
    selected, the grid was previously empty, due to
    a missing fallback.
    
    The special "-1" is no valid language id in the
    "Columns" mode and has to be replaced in
    the module settings. We therefore fall back
    to the default language, which is in this case
    already visually selected for the user, since it's
    the first module menu entry.
    
    Resolves: #95161
    Related: #92460
    Releases: master
    Change-Id: I68d242d1fc85fcc9fb48daf7d28298ee70fc7fcf
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70981
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    07aff9ef