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.
I'm trying to import nodes with a field referencing to a user, I'm able to map it wit uid, uuid, some fields, etc, but not with user mail.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3207793-feeds-allow-import-of-entity-reference-fields-by-email-2.patch | 435 bytes | p4trizio |
|
Comments
Comment #2
p4trizio CreditAttribution: p4trizio at Elicos commentedComment #3
bmcclure CreditAttribution: bmcclure as a volunteer commentedThis is extremely useful! Email is sometimes the only reliable way to match up users between different systems, so having the built-in email field for users available to use as a reference greatly simplifies things.
The patch applies cleanly and works great for configuring the feed to reference a user by email. If I run into any issues while running the feed I will report back, but so far this seems great.
Thank you!
Comment #4
LeDucDuBleuet CreditAttribution: LeDucDuBleuet commentedI can also confirm the patch still applies cleanly and works like a charm!
Referencing users by email simplifies things a lot when needed.
It would be great if this little patch could be merged into the module for the next release please.
Thank you for a great module!
Comment #6
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedThanks for the patch! I also added support for email for the Config Entity Reference target and the Book target. Committed #2 with that change.
Note that there is a similar issue to add support for even more field types, but that one hangs on getting test coverage:
#2998037: Allow more field types to be used as reference filter fields