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.
When Taxonomy Access Fix is enabled on a site where tests are run, the EntityMetadataTaxonomyAccess tests fail. The access callback checks if the taxonomy_access_fix_access function exists. This normally is a sign that the module is enabled, but inside the test environment, it is not enabled.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2813739-check-taxonomy_access_fix-enabled-2.patch | 666 bytes | Stevel |
|
Comments
Comment #2
Stevel CreditAttribution: Stevel commentedThis patch checks module_exists() instead of function_exists(), so even if taxonomy_access_fix.module was loaded earlier, but the module is not enabled, it is not called here.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 2 year old patch in #2 to callbacks.inc applied cleanly to the latest entity 7.x-1.x-dev and (if still relevant) needs review.