Importing config on a newly installed site with non-english default language gives error because of default language overwrite

Created on 26 February 2017, over 7 years ago
Updated 5 April 2024, 7 months ago

I'm working in the unsupported use case where I install a new site and adapt the uuid so it matches my config uuid.

The default language I'm working from is dutch. I export config, install the site again, adapt the uuid and import the config. I get this error:

[notice] Synchronized configuration: delete language.entity.nl.

In ConfigurableLanguage.php line 177:
                                       
  Can not delete the default language
                                       

If I delete the language.entity.nl.yml file before install, it works

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated 1 day ago

Created by

πŸ‡§πŸ‡ͺBelgium daften

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024