Project

General

Profile

Actions

Bug #90031

open

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

Added by Mario Lubenka almost 5 years ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & 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 #1

Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #2

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #3

Updated by Mario Lubenka almost 5 years ago

  • Subject changed from Default language when languages in Site configuration are ordered differently to Wrong link calculation when languages in Site configuration are ordered non-ascendingly
Actions #4

Updated by Riccardo De Contardi almost 5 years ago

Is this one related? #84671

Actions #5

Updated by Mario Lubenka almost 5 years ago

Riccardo De Contardi wrote:

Is this one related? #84671

If languages become sortable via the backend the problem I described will occur more frequently.
Right now this only happens if one does that directly in the site configuration YAML file.

Actions #6

Updated by Gerrit Code Review almost 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #7

Updated by Gerrit Code Review almost 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #8

Updated by Gerrit Code Review almost 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #9

Updated by Gerrit Code Review almost 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #10

Updated by Gerrit Code Review almost 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #11

Updated by Gerrit Code Review almost 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #12

Updated by Gerrit Code Review over 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #13

Updated by Gerrit Code Review about 3 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #14

Updated by Gerrit Code Review almost 3 years ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #15

Updated by Gerrit Code Review over 1 year ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions #16

Updated by Gerrit Code Review about 1 month ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62779

Actions

Also available in: Atom PDF