Getting this error:
Undefined index: bundle keys sf_entity.module:28
Fatal error: (...)/entity/includes/entity.inc on line 47

It seems to be the combination of sf_entity and field_collection, since there are no bundle keys defined in field_collection.

For info see:
http://drupal.org/node/1263674
http://drupal.org/node/1561472

To reproduce:
Vanilla drupal 7.14 install w ctools, salesforce 7.x-2.x-dev (only salesforce_api and sf_entity enabled), entity, and field_collection.
The above errors shows when clearing cache.

On my development site (w a lot more modules) features export is broken, modules enabling / disabling is broken, etc.

Comments

tinefin’s picture

It seems the "bundle keys" got in there to solve this: http://drupal.org/node/1570108
Also noted your request here: http://drupal.org/node/1280770

Fyi: Seems other modules are having an issue w retrieving entity_uri from a "dummy" entity as well:
http://drupal.org/node/1340184
Not sure if entity API allows for a better way to do this?

tinefin’s picture

Status: Active » Needs review
StatusFileSize
new2.31 KB

Fixed, patch attached

tinefin’s picture

Sorry, patch file contains code from former patch.

Correct file attached.

tinefin’s picture

Damn, never do stuff in a hurry.. Unfortunately not possible to edit attached files.

Former file still not right, right one attached or beer's on me.

muschpusch’s picture

Status: Needs review » Reviewed & tested by the community

Thank you so much! This works great

chony’s picture

Yes, I just tried this patch and it does work!
Thanks.

kostajh’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x-2.x-dev 71528944

Status: Fixed » Closed (fixed)

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