Common D10 to D11 upgrade issue occurs in site settings

Created on 4 March 2025, about 1 month ago

Problem/Motivation

Remove the bad system.site entries, 0: '' and 1: '' are bogus entries, need to be removed/cleaned.

diff --git a/custom/config/splits/dev/system.site.yml b/custom/config/splits/dev/system.site.yml
index d18cf61..b20de22 100644
--- a/custom/config/splits/dev/system.site.yml
+++ b/custom/config/splits/dev/system.site.yml
@@ -9,8 +9,6 @@ page:
   403: /system/404
   404: /system/404
   front: /node/1
-  0: ''
-  1: ''
 admin_compact_mode: false
 weight_select_max: 100
 default_langcode: en
diff --git a/custom/config/splits/live/system.site.yml b/custom/config/splits/live/system.site.yml
index d18cf61..b20de22 100644
--- a/custom/config/splits/live/system.site.yml
+++ b/custom/config/splits/live/system.site.yml
@@ -9,8 +9,6 @@ page:
   403: /system/404
   404: /system/404
   front: /node/1
-  0: ''
-  1: ''
 admin_compact_mode: false
 weight_select_max: 100
 default_langcode: en

Steps to reproduce

Upgrade from D10 to D11

Proposed resolution

Would be nice if a hook_update automatically fixed this issue

Remaining tasks

Review how this might be fixed in a wxt hook_update

User interface changes

Without this fix there's some related errors in the site settings admin page.

API changes

N/A

Data model changes

🐛 Bug report
Status

Active

Version

6.1

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024