Upgrade from 3.x to 4.x: Lose entity overrides

Created on 14 September 2023, over 1 year ago
Updated 18 September 2024, 3 months ago

Problem/Motivation

When I upgrade from version 3.x to 4.x, I end up losing all of the data in simple_sitemap_entity_overrides. It appears to be the same problem as in πŸ› Update from 2.x or 3.x: Export does not get imported Fixed . However, my deployment steps are different and the fix that was implemented is not working.

Steps to reproduce

To reproduce, run composer commands to upgrade from version 3.x to 4.x and then run these steps:

  • drush updb --no-post-updates
  • drush cim
  • drush updb

Since the post update fix that was added in πŸ› Update from 2.x or 3.x: Export does not get imported Fixed runs after the config import in these steps, it results in the same problems reported in that ticket.
In my case, I cannot change the deployment steps.

Proposed resolution

Update the uuid on the config items in the update functions instead of the post update (or do both).

πŸ› Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kleinmp

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

Comments & Activities

Production build 0.71.5 2024