Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: chx commentedThanks for the idea.