Hi,
I installed your module on 26.10.2011 and I had Display Suite 7.x-1.3 installed. After flushing the cache I got an error notice:
Notice: Undefined index: id in efq_views_views_data() (line 17 of /home/wphbg8ua/www.alarma.bg/sites/all/modules/efq_views/efq_views.views.inc).
The problem is this: on line 17 you have: 'field' => $info['entity keys']['id'],
In this file you have:
foreach (entity_get_info() as $type => $info) {
$data['efq_' . $type]['table']['base'] = array(
'title' => 'EntityFieldQuery: ' . $info['label'],
'help' => t('Uses EntityFieldQuery for querying the !type entity type', array('!type' => $type)),
'query class' => 'efq_query',
'field' => $info['entity keys']['id'],
);
and the code on line 17 is: 'field' => $info['entity keys']['id'],
In my case the error comes from Display suite Views entity which does not have "id" field in the "entity_keys" array
I rewrited it like this: 'field' => @$info['entity keys']['id'],
so it is not trowing an error anymore but I am not sure that this is correct and that it will not produce other errors down the line
| Comment | File | Size | Author |
|---|---|---|---|
| Home page.png | 169.27 KB | pavlovt |
Comments
Comment #1
swentel commentedYeah, I'll have to fix this - #1324196: Display suite problem with Relation and EntityFieldQuery Views Backend modules