Actions
Bug #93719
closedSite config: language baseVariants still get removed when saving from GUI
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.
Actions