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.
| Comment | File | Size | Author |
|---|---|---|---|
| mailchimp-list-no-bundle.patch | 556 bytes | klausi |
Comments
Comment #1
lunaris commentedI 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.
Comment #2
levelos commented