Cannot rollback data that goes into user_data destination

Created on 20 September 2023, 9 months ago

Problem/Motivation

Rolling back a migration that has a destination of "user_data" does not work.

Steps to reproduce

Create a custom migration that has a destination of "user_data".
Migrate the data.
Confirm the data was migrated correctly.
Rollback the migration using the command "drush migrate:rollback".

Expected outcome:
* The migrated data is removed.

Actual outcome:
* The migrated data is still present in the database.

Proposed resolution

Allow data that is migrated into user_data to be removed when the "drush migrate:rollback" command is executed in Migrate Tools.

Remaining tasks

Work out the cause of the problem.

User interface changes

Rolling back a migration to the user_data table deletes the data.

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.69.0 2024