The implementation of hook_option_list doesn't take care of the entities implementing the 'bundle of' mechanism (see entity.api.php http://www.drupalcontrib.org/api/drupal/contributions!entity!entity.api.... for more infos about 'bundle of').

The attached patch should fix this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ceonizm created an issue. See original summary.

ceonizm’s picture

ceonizm’s picture

Assigned: Unassigned » ceonizm
Status: Patch (to be ported) » Active
ceonizm’s picture

Title: Support For entities implementing 'bundle of' mechanism » Support For entities implementing 'bundle of' mechanism in entityreference_options_list
Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: entityreference-fix-bundleof-entities.patch, failed testing.