Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not sure how or why this is the case, but on my site, some entities (perhaps those which were created before Multiversion was installed) have NULL for "_deleted" and "workspace". I noticed that when running "drush mdt ENTITYTYPE" on those entity types, it deletes all of those items. This led to busted content that referenced them.
To work around this, I had to run these queries before uninstalling Multiversion:
UPDATE media_field_data SET workspace = 1, _deleted = 0 WHERE _deleted IS NULL;
UPDATE media_field_revision SET _deleted = 0 WHERE _deleted IS NULL;
UPDATE taxonomy_term_field_data SET workspace = 1, _deleted = 0 WHERE _deleted IS NULL;
UPDATE taxonomy_term_field_revision SET _deleted = 0 WHERE _deleted IS NULL;
UPDATE crop_field_data SET workspace = 1, _deleted = 0 WHERE _deleted IS NULL;
UPDATE crop_field_revision SET _deleted = 0 WHERE _deleted IS NULL;
Can the uninstaller skip over these? Or warn the user that they exist and will be deleted?
Comments
Comment #2
mcrittenden CreditAttribution: mcrittenden commented