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
Comment #1
tinefin commentedIt 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?
Comment #2
tinefin commentedFixed, patch attached
Comment #3
tinefin commentedSorry, patch file contains code from former patch.
Correct file attached.
Comment #4
tinefin commentedDamn, 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.
Comment #5
muschpusch commentedThank you so much! This works great
Comment #6
chony commentedYes, I just tried this patch and it does work!
Thanks.
Comment #7
kostajh commentedCommitted to 7.x-2.x-dev 71528944