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)

Comments

zhangyb created an issue. See original summary.

zhangyb’s picture

Patch to fix above issue attached.

aspilicious’s picture

Status: Active » Reviewed & tested by the community

aspilicious’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.