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.
entity_extract_ids around line 618 in ds.module is using $object which is transformed to 'term' on line 614 when dealing with taxonomy terms. This is not desirable since entity_extract_ids will return 'term' to $bundle variable which will cause the template suggestions for taxonomy terms to be less specific than it could be.
ds-2col-fluid--taxonomy-term-product-category-category-teaser.tpl.php (after patch)
vs
ds-2col-fluid--taxonomy-term-term-category-teaser.tpl.php (before patch)
Comment | File | Size | Author |
---|---|---|---|
#2 | ds-entity_extract_ids-fix-2633782-2-7.41.patch | 486 bytes | zhangyb |
Comments
Comment #2
zhangyb CreditAttribution: zhangyb as a volunteer and at Red Airship commentedPatch to fix above issue attached.
Comment #3
aspilicious CreditAttribution: aspilicious commentedComment #5
aspilicious CreditAttribution: aspilicious commented