hansel taxonomy will break/limit its lookup for a parent taxonomy term on the first term. If you have a structure like

vocabulary -> parent -> child

and the entity has parent and child term selected it might stop its lookup on parent item (if it comes first..). My patch will loop through the terms till it finds a term with a real parent term and use this one (the first child found) for its breadcrumb building.

beware/ notice

vocabulary -> parent1 -> child1
vocabulary -> parent2 -> child2

will probably generate parent1 -> child1 as a breadcrumb

this behaviour is given due the order of term ids inside the taxonomy field.

this bug is code related, I already patched it going to submit it later.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Andre-B’s picture

Status: Active » Needs review
FileSize
1018 bytes

patch attached

Andre-B’s picture

proper formatting. use this patch