Problem/Motivation
The migration system does not yet support migrating user reference fields, with their settings and values, from Drupal 7 to Drupal 8.
The source module is https://www.drupal.org/project/references.
Proposed resolution
Add a field plugin to handle Drupal 7 user_reference fields.
Remaining tasks
- Write the field plugin based on \Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase
- Write tests of said plugin
- Update the Drupal 7 fixture with a user reference field or two
- Update our integration tests to ensure that the user reference fields and their configurations are migrated correctly
- Update other integration tests to ensure that user reference fields' values are migrated properly
- Commit the patch
- Find a trampoline and jump on it ecstatically
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
phenaproximaPostponing on #2447727: Add base class for migrating reference fields.
Comment #8
quietone commentedAdd source module
Comment #11
mradcliffe#2447727: Add base class for migrating reference fields is done
Comment #12
mradcliffeNote that the patch in #2814953: Migrate Drupal 7 node/user reference fields already does this so maybe we should close as duplicate now?
Comment #13
quietone commentedMaybe. I am waiting to see all the changes needed for user reference before fully committing to marking this as a duplicate.
Comment #14
quietone commentedBoth the node and user reference migration are in #2814953: Migrate Drupal 7 node/user reference fields and all tests are updated. Hopefully the user reference field migration will get committed in that issue. With that in mind I am closing this as a duplicate.