Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2021 at 14:09 UTC
Updated:
23 Apr 2025 at 05:44 UTC
Jump to comment: Most recent
Comments
Comment #2
thhafner commentedComment #3
thhafner commentedComment #10
dcam commentedI verified that this is still an issue. But not quite for the reasons originally reported. The relevant state keys are created by the migrate_drupal module, not migrate_drupal_ui. It's natural that the state keys would still be in the database if migrate_drupal_ui is uninstalled and migrate_drupal is not. But migrate_drupal doesn't remove them either, which probably isn't a good thing for security. In any case, a module should clean up its stuff when being uninstalled.
It's easy enough to update the module to remove those state keys on uninstall and to create a test for it. But this issue suggests that there are sites out there where migrate_drupal is already uninstalled that have orphaned state keys. I have no idea how those should be handled. If there's a precedent, then let me know.
Since the Drupal migration modules are being removed for D12, then I think this issue should be handled before then. That way, anyone who still has migrate_drupal installed on their site will have the keys removed properly.
Comment #11
dcam commentedComment #12
smustgrave commentedSeems pretty straight forward
Ran the test-only pipeline
Which what would be expected.
LGTM
Comment #15
catchCommitted/pushed to 11.x, thanks!