Download & Extend

Mailchimp list entity has no bundles, fix entity info

Project:MailChimp
Version:7.x-2.x-dev
Component:Lists
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
mailchimp-list-no-bundle.patch556 bytes

Comments

#1

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.

#2

Status:reviewed & tested by the community» fixed

#3

Status:fixed» closed (fixed)

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

nobody click here