Allow import of entity reference fields by email

Created on 8 April 2021, about 4 years ago
Updated 16 October 2023, over 1 year ago

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.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇹Italy p4trizio Como

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States bmcclure West Virginia

    This 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!

  • Status changed to RTBC over 1 year ago
  • 🇨🇦Canada leducdubleuet Chicoutimi QC

    I 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!

  • Status changed to Fixed over 1 year ago
  • 🇳🇱Netherlands megachriz

    Thanks 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

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024