does not catch duplicate migration_group ID, missing file uri, or other duplicate migration plugins gracefully

Created on 4 February 2017, almost 8 years ago
Updated 30 September 2023, over 1 year ago

If I accidentally use the same migration group ID that already exists it should be caught more gracefully.

PHP message: Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "'migration_group' entity with ID 'my_wordpressblog' already exists.
at /core/lib/Drupal/Core/Entity/EntityStorageBase.php line 425

Update: There are various exceptions and errors when already existing IDs for migration group, migration of tags, categories, posts, comments etc already exist. Going to catch and re-throw in context each of those. Also checking for missing file_uri or if the existing file matches the file uri.

The exceptions go up, chained, to ImportWizard.php finish(). it catches them all: 🐛 Duplicative generated migration group causes uncaught error at review stage EntityStorageException Needs work

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States hongpong Philadelphia

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024