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.
Problem/Motivation
Standard doesn't install for MongoDB cos taxonomy_views_data_alter makes $data['node_field_data']
exist.
Proposed resolution
View::isInstallable should check whether the base table is a base table (OK that sounds stupid but that's what's needed).
Note there is no test. The isInstallable mechanism has a test but writing a direct test against this would be so directly testing the implementation itself that it's completely pointless. For a real test, I recommend https://events.drupal.org/node/605 .
Comment | File | Size | Author |
---|---|---|---|
#4 | 2456951_4.patch | 820 bytes | chx |
Comments
Comment #1
dawehnerSound sane.
Comment #2
chx CreditAttribution: chx at MongoDB commentedComment #3
alexpottThis code looks like it needs a comment.
Comment #4
chx CreditAttribution: chx at MongoDB commentedComment #5
dawehner+1
Comment #8
chx CreditAttribution: chx at MongoDB commentedBot fail.
Comment #9
alexpottCommitted 5271f8f and pushed to 8.0.x. Thanks!