Project

General

Profile

Actions

Bug #90159

closed

Site config: language baseVariants get removed when saving from GUI

Added by Jonas Eberle almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-01-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

baseVariants for languages (https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/SiteHandling/AddLanguages.html#base) can currently only be edited by editing the site config .yaml directly. (Which is not the focus of this issue, but does anybody know if there is an feature request for this already?)

But if a site contains language baseVariants they will be removed from the .yaml after saving the site config in the backend.

languages:
 -
    languageId: '2'
    base: 'https://domain.ch/'
    baseVariants:
      -
        base: 'http://ch.stagingdomain.de/'
        condition: 'applicationContext matches "#^.*/Staging#"'
      -
        base: 'https://domain.ch.test/'
        condition: 'applicationContext matches "#^.*/Local$#"'

This could be solved by adding the missing configuration fields to the GUI (see above, maybe there is a feature request already for that?).


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #93719: Site config: language baseVariants still get removed when saving from GUIClosed2021-03-12

Actions
Is duplicate of TYPO3 Core - Bug #89116: Selective writing of site config broken for nested structuresClosed2019-09-09

Actions
Actions

Also available in: Atom PDF