Hi, I'm getting the following error when using the Hansel module to correct forum breadcrumbs: Call to undefined function taxonomy_node_get_terms_by_vocabulary() in sites/all/modules/hansel/forum/hansel_forum.module on line 73

It seems that this function is no longer available in D7, see http://agerson.net/taxonomynodegettermsbyvocabulary-replacement-drupal-7

A solution is proposed on the same page but when try using the given replacement function, I get a wsod when navigating to a forum node.

Any ideas?

This is my Hansel config:

start
add link Home
switch on url argument 1

node
switch on node type

forum
Add forum path including containers
leave
CommentFileSizeAuthor
#4 1192844.patch918 bytesniko-

Comments

mauritsl’s picture

Status: Active » Fixed

Fix commited to GIT.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

RealBirkoff’s picture

Thanks, it doesn't crash anymore.

However, I can't get it to work on a node of type forum:

Executing rule start
Executing crumb action add single link
Added 1 crumb(s)
Match on rule node
Executing rule node
switch on node type
Match on rule forum
Executing rule forum
Executing crumb action add forum path
Added 0 crumb(s)
Leave

Did I miss something?

Thanks in advance!

Status: Fixed » Closed (fixed)

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

niko-’s picture

Version: 7.x-1.x-dev » 7.x-1.2
Assigned: Unassigned » niko-
Status: Closed (fixed) » Needs review
StatusFileSize
new918 bytes

Hi

This patch not works for me in test mode of module admin/config/search/hansel/test , but excelent works on forum.
I will correct defect later

mauritsl’s picture

Status: Needs review » Fixed

This was fixed by the changes made for #1265386: hansel_taxonomy.module doesn't work in localized Drupal when viewing nodes. Thanks anyway for reporting!

Status: Fixed » Closed (fixed)

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