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
When saving a comment entity it might not be aware of what entity it is a comment on -- yet. This is the case when migrate is saving a stub entity because the parent entity is not yet migrated.
Proposed resolution
Only pick up a referenced entity if there is one.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2207907_1.patch | 711 bytes | chx |
Comments
Comment #1
chx CreditAttribution: chx commentedComment #2
chx CreditAttribution: chx commentedComment #3
larowlanWorks for me
Comment #4
Wim Leerslgtm :)
Comment #5
catchYeah OK. Committed/pushed to 8.x, thanks!