config export fails when split is enabled.

Created on 16 February 2023, over 1 year ago
Updated 17 February 2023, over 1 year ago

Problem/Motivation

When trying to do a configuration export it errors if split is activated, if not it just dumps into default configuration and doesn't split.
This is on Drupal 9.5.4
The error is :
TypeError: Drupal\Core\Config\DatabaseStorage::write(): Argument #2 ($data) must be of type array, bool given, called in /app/docroot/modules/contrib/profile_split_enable/src/EventSubscriber/ProfileOverriderSubscriber.php on line 93 in Drupal\Core\Config\DatabaseStorage->write() (line 120 of core/lib/Drupal/Core/Config/DatabaseStorage.php).

Steps to reproduce

Set up the configuration split to go into a named folder, select active and folder for the split.
Select the items you want to split AND the config items.
Go to configuration syncronisation and export Full Archive OR
Run Drush cex or drush config-split:export (name of of split configuration).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.69.0 2024