Project

General

Profile

Actions

Bug #93719

closed

Site config: language baseVariants still get removed when saving from GUI

Added by Benjamin Robinson about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2021-03-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

If a site contains language baseVariants they will be removed from the .yaml after saving the site config in the backend under certain conditions.

Steps to reproduce:

1. Create config.yaml

base: 'https://www.domain.de/'
baseVariants:
  -
    base: 'https://dev.domain.de/'
    condition: 'applicationContext == "Development"'
languages:
  -
    title: 'Deutsch'
    enabled: true
    base: /
    typo3Language: de
    locale: de_DE.utf8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ''
    flag: de
    languageId: 0
  -
    title: 'English'
    enabled: true
    base: 'https://www.en.domain.de/'
    baseVariants:
      -
        base: 'https://dev.en.domain.de/'
        condition: 'applicationContext == "Development"'
    typo3Language: default
    locale: en_GB.utf8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-DE
    direction: ''
    fallbackType: strict
    fallbacks: ''
    flag: gb
    languageId: 1
    websiteTitle: ''
rootPageId: 2
websiteTitle: ''

2. Clear all caches

3. Edit some setting of the language via Backend GUI, for example change the title 'English' -> 'British English', or the locale "en_GB.utf8" -> en_US.utf8.

The language's baseVariants will get removed.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90159: Site config: language baseVariants get removed when saving from GUIClosed2020-01-20

Actions
Actions

Also available in: Atom PDF