Project

General

Profile

Actions

Bug #90031

open

Wrong link calculation when languages in Site configuration are ordered non-ascendingly

Added by Mario Lubenka over 4 years ago. Updated about 1 year ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Start date:
2019-12-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
site configuration,language
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In the case where the languages in the Site configuration are not ordered by languageId it will not use the language with langId=0 as default page but the very first entry.

languages:
  -
    title: Japanese
    enabled: true
    languageId: '2'
    base: /jp
  -
    title: English
    enabled: true
    languageId: '0'
    base: /

This will cause wrong link calculation when opening a frontend page from the backend, as it will (in the above case) use the English page title with the Japanese base.

Actions

Also available in: Atom PDF