Problem/Motivation
Executing d7_entity_translation_settings and d7_language_content_comment_settings migrations in the same order how Migrate Drupal UI executes them results in entity storage exception:
[
0 => ''language_content_settings' entity with ID 'comment.comment_node_et' already exists. (/Users/zoli/projects/migmag/zdev/public_html/core/lib/Drupal/Core/Entity/EntityStorageBase.php:487)'
1 => ''language_content_settings' entity with ID 'comment.comment_node_test_content_type' already exists. (/Users/zoli/projects/migmag/zdev/public_html/core/lib/Drupal/Core/Entity/EntityStorageBase.php:487)'
]
Proposed resolution
TBD. If I apply my fixes from #3118262: Calling EntityConfig::import() with multiple destination IDs fails then the issue doesn't happen.
Remaining tasks
TBD.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | core-migrate_entity_with_id_already_exists-3260352-5--test-only.patch | 3.04 KB | huzooka |
Comments
Comment #2
huzookaComment #3
huzookaComment #4
huzookad7_language_content_taxonomy_vocabulary_settingsandd7_language_content_settingsshould also be involved.Comment #5
huzookaComment #7
anybodyThanks @huzooka, we're experiencing a similar issue with
d7_language_content_settings:d7_language_content_taxonomy_vocabulary_settings:d7_field_formatter_settingsreturnsUnsure if that's also related...
Comment #8
huzookaThe entity view mode issue is an another one - try to find out which field formatter view mode triggers that message… Maybe the source was using Display Suite? Or Entity View Modes?
Comment #9
quietone commentedJust updating tags,
Comment #12
quietone commentedThe Migrate Drupal Module was approved for removal in #3371229: [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3522602: [meta] Tasks to remove Migrate Drupal module and the removal work in #3522602: [meta] Tasks to remove Migrate Drupal module.
Migrate Drupal will not be moved to a contributed project. It will be removed from core after the Drupal 12.x branch is open.
Comment #14
quietone commentedThe Migrate Drupal Module and Migrate Drupal UI are deprecated and they are not in Drupal 12.0.0.
Issues for these modules should now be on the 11.x branch. And the changes are limited to critical and major bug fixes. Other changes are allowed at the discretion of the core Release Managers in consultation with the Migrate subsystem maintainers.