Config import fails when importing multiple entity_type_behaviors

Created on 14 September 2023, over 1 year ago

Problem/Motivation

When I run drush cim and have multiple entity_type_behaviors to import I get the following error.

In SqlContentEntityStorage.php line 1594:
                                                                                                                              
  Exception thrown while performing a schema update. Cannot rename 'node' to 'old_2ece08node': table 'old_2ece08node' already exists.                                                                                                                   
                                                                                                                              

In Schema.php line 376:
                                                                                    
  Cannot rename 'node' to 'old_2ece08node': table 'old_2ece08node' already exists. 

Steps to reproduce

0. Dump you DB
1. Add entity_type_behaviors on multiple entity types with content.
2. Export config
3. Import your DB-Dump
4. Run drush cim

Proposed resolution

Fix configStepOperation

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany Harlor Berlin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024