Do not specify bundle keys in hook_entity_info() if the entity does not have bundles. This can lead to unexpected behavior with entityreference fields where suddenly the selectbox for mailchimp lists is empty.

Patch attached.

mailchimp-list-no-bundle.patch556 bytesklausi
Members fund testing for the Drupal project. Drupal Association Learn more


lunaris’s picture

Status: Needs review » Reviewed & tested by the community

I confirm that the above patch works for me. Additionally, the 'type' field doesn't exist in the MailChimp list schema, so this needs to go.

levelos’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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