I may be missing something, but the profile base fields on user entity type in profile_entity_base_field_info() don't seem to set the "target_bundles" property. So each field specific to a profile type can technically reference any profile bundle. This gets confusing when using an inline_entity_form complex widget.

Attached patch sets the target_bundles property. Please let me know if I'm missing something.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jienckebd created an issue. See original summary.

jienckebd’s picture

mglaman’s picture

Status: Active » Needs review

  • mglaman committed f835819 on 8.x-1.x authored by jienckebd
    Issue #3112453 by jienckebd: Set target_bundles setting of profile base...
mglaman’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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