Entity reference fields that don't specify limit by bundles fail to have their data migrated

Created on 1 May 2020, over 4 years ago
Updated 11 February 2024, 10 months ago

If you don't configure bundles in the Drupal UI when creating a entity reference field the reference is handled as if is referencing an entity with no bundles like 'user' or 'file'

Get the info from the entity if it has bundles.

Fix it to match the core migrate behavior that so entitites with any of the available bundles can be referenced

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

🇪🇸Spain rodrigoaguilera Barcelona

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.

  • Status changed to Closed: cannot reproduce 10 months ago
  • 🇨🇦Canada nickdjm

    Perhaps I'm misunderstanding this issue, but when I attempt to create an entity reference field that does not specify a bundle I get a form validation error. It looks like this might have been an issue with core and you cannot have an entity reference field that has no bundles now.

    Seeing as how this hasn't been looked at for ~3 years and we haven't run into this issue at all I'm going to close for now. We can open a new issue if it comes up again.

Production build 0.71.5 2024