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.
Problem/Motivation
We need an upgrade path for the Drupal 7 Comment module.
Remaining Tasks
Write migrations (with tests) to handle the following:
Variables related to comments (e.g.,. It looks like D8 Comment maintains no configuration, so this is not needed.comment_anonymous_page
and its ilk; see comment_uninstall() for more) need to be moved into configuration as needed- Comment entities need to be migrated.
- Comment types need to be migrated, with relevant configuration.
Comment | File | Size | Author |
---|---|---|---|
#14 | interdiff-2532534-11-14.txt | 302 bytes | phenaproxima |
#14 | 2532534-14.patch | 36.91 KB | phenaproxima |
#11 | interdiff-2532534-10-11.txt | 416 bytes | phenaproxima |
#11 | 2532534-11.patch | 36.48 KB | phenaproxima |
#10 | 2532534-10.patch | 36.45 KB | phenaproxima |
Comments
Comment #1
miguelc303 CreditAttribution: miguelc303 at Anexus commentedI did a patch to enable end user to migrate comments from Drupal 7 to Drupal 8
Comment #3
webchickMerging #2500465: Upgrade path for Comment 7.x into this one. Since this is one of the "big 4" that people won't consider migration complete without, bumping to a Migrate critical.
Comment #4
quietone CreditAttribution: quietone commentedAdd parent task
Comment #5
phenaproximaComment migration depends on nodes, so this is blocked by #2423103: Migration Files for Drupal 7 Content.
Comment #6
phenaproximaFixing the IS.
Comment #7
phenaproximaRe-rolled and merged all related/child issues into the patch.
Comment #8
phenaproximaNode migrations are in, so this be unblocked.
Comment #9
phenaproximaI done made a patch with tests!
Comment #10
phenaproximaAdded a test of the CommentType source plugin.
Comment #11
phenaproximaSigh...reverted a couple of non-crucial changes to the D6 comment migrations.
Comment #14
phenaproximaFixed missing dependencies in d7_field_instance which cause exceptions during real-world migrations.
Comment #15
webchickJust some house-keeping, ignore me.
Comment #16
quietone CreditAttribution: quietone commentedIt looks like the test data has only one comment. If that is true, is that really sufficient?
What is the significance of the order change?
Comment #17
quietone CreditAttribution: quietone commentedUsing a site with only 50 nodes of devel generated content, this worked really well. Looks like all the content is there in the right display order and the correct authors.
I did get one error:
Comment #18
ultimikeThis looks good to me. I walked through it while peppering phenaproxima with questions on IRC, I'm satisfied.
-mike
Comment #19
phenaproximaRegarding #17 -- since it's a non-fatal error that didn't completely hose the migration, let's deal with it in a follow-up issue.
Comment #20
webchickTested this manually yesterday myself with a few of the other patches that went in today and it worked GREAT. Proof: https://twitter.com/webchick/status/639189072838168576
Committed and pushed to 8.0.x. YEAH! :D