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.
The algorithm in _taxonomy_manager_tree_get_first_path fails to find the specified #term_to_expand when the very top of the tree isn't in $tree. This occurs whenever #parent is set to something other than the top of the tree.
I spent half a day working out where the problem was, and I have spent several hours trying to debug the specific algorithm, but the lack of comments makes it pretty impossible.
Thanks,
Aidan
Comments
Comment #1
ivnish CreditAttribution: ivnish commented