I use an entity without a base table (I know it's unusual) and I get this error:
Notice: Undefined index: base table in feeds_views_data() (line 170 of /var/www/testing/sites/all/modules/feeds/views/feeds.views.inc).
on every page I visit after clearing the cache.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2500185-1-entity-without-base-table-error.patch | 1.1 KB | angel.h |
Comments
Comment #1
angel.hHere is a suggested patch.
Comment #2
megachrizWhen I define an entity type that doesn't need a database table, I usually set the entity type's "base table" property to "NULL". Even in that case this patch makes sense, else you get an empty entry in
$data['feeds_item']['table']['join'].I looked at the patch and I see no issues with it. RTBC.
Comment #4
twistor commentedThanks!
I suppose that means FeedsProcessor::entityLoad() needs some work.