Entity type mismatch on rename. block not equal to

Created on 29 January 2025, 1 day ago

10.3.10

2.0@beta

Expected Behavior

When importing a different domain config on a fresh database it should work

Actual Behavior

- import those config on an other database (other than local)
- The error occure preventing the config from being imported. :

The import failed due to the following reasons:
  Entity type mismatch on rename. block not equal to  for existing configuration block.block.mosaic_relifted_theme_socialmedialink
  s and staged configuration domain.config.amundi_ita_retail_corepension.block.block.mosaic_relifted_theme_socialmedialinks.

Steps to reproduce

- Create different domain config for a block (a config per domain for a given block))
- export the config via drush cex
- import those config on an other database (other than local)
- The error occure preventing the config from being imported.

My guess is since on the first import the configs have the same uuid for exemple :
domain.config.domain1.block.block.Block_name.yml
domain.config.domain2.block.block.Block_name.yml

Drupal would'nt know that it's about different config per domain.
Any Guess i hope it's not related to an other oppened issue but i did'nt find one out there the only issue i found that it seems related is this :
https://www.drupal.org/project/domain/issues/3222413 🐛 Using Domain Config UI creates *.yml files with duplicate UUIDs. Needs work
but it's not about the same thing.

🐛 Bug report
Status

Active

Version

2.0

Component

- Domain Config UI

Created by

🇹🇳Tunisia Nasreddine123

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

Comments & Activities

Production build 0.71.5 2024