Add option to disable creating comment migrate plugin

Created on 30 September 2023, 12 months ago

Problem/Motivation

Unlike the other migrations comments are just imported automatically. Add a stage to the import wizard UI.

There is already a /src/Form/CommentSelectForm.php but it is not integrated!

This could also help as may avoid having glitchy xml comments be parsed if they are to be dropped anyway.

There is some bug in this area anyway (incorrect migration plugin set up) so switching it off is good. see πŸ› Undefined array key "migration" in findMigrationDependencies() Active

Proposed resolution

Integrate this Form page (to come after the pages / posts) in the wizard.

Remaining tasks

- update ImportWizard.php getOperations
- test CommentSelectForm.php
- change WordPressMigrationGenerator.php to add a condition around L245 like
if ($this->configuration['image_field']) {

User interface changes

new wizard page in import process

API changes

migration plugin entity for comments may go away

Data model changes

additional key on var array this->configuration inside WordPressMigrationGenerator

✨ Feature request
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

Production build 0.71.5 2024