My entity link was not displayed at the user view, probably the bundle selection was working against me. It's weird to have to select a bundle where none exists.

Attached patch fixes bundle selection to not show up for entity types without bundles. Also it fixes the bundle restriction to be stored as "no selected bundle" what is necessary for the rules-link to remain working when bundles are added + makes run-time checks simpler.

Attached patch fixes my problem with the user-view too.

unrelated: It would be nice to have hook_field_extra_fields() implemented too.

Comments

sepgil’s picture

Status: Needs review » Fixed

thx, commited and pushed it.

dasjo’s picture

Status: Fixed » Needs review
StatusFileSize
new779 bytes

wrong usage of entity_extract_ids caused misbehavior, see attached fix

mh86’s picture

Status: Needs review » Reviewed & tested by the community

helps a lot.

sepgil’s picture

Status: Reviewed & tested by the community » Fixed

thx, committed it.

MStrzelecki_’s picture

thx for patch, great job!

Status: Fixed » Closed (fixed)

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