Closed (fixed)
Project:
EntityFieldQuery Views Backend
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 May 2012 at 17:16 UTC
Updated:
20 May 2012 at 23:20 UTC
Base tables that don't have the entity type declared don't get the query-plugin-independent fields available, which is problematic.
| Comment | File | Size | Author |
|---|---|---|---|
| always-declare-entity_type.patch | 1.05 KB | bojanz |
Comments
Comment #1
chx commentedI committed this because the existing (not much) test didnt break but -- how would you go writing a test for this?
base is gone. Either something was broken and got fixed (which can be tested) or something is broken and can be fixed which again can be tested.
Comment #2
bojanz commentedBase is gone because Views changed the format at one point.
A test would declare a "global" field attached to a certain entity type, then check if efq_views can see it.
Or check for an existing one, like the node edit field, which is defined by Views like this:
Comment #3
chx commentedThanks for the idea.