On the cofiguration page Hierarchical Select Content Taxonomy the preview does not work. When I select the parent, the select box just resets and the child box never resets.

Along the same lines, non of the other options on the page such as "Enable level labels" or "Allow creation of new terms" recognize that the vocabulary has more then 1 level.

In the attached image, I would expect 3 levels just like in the vocabulary edit page.

Comments

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Fixed

You probably have the "depth" setting of your content_taxonomy field configured to 1 ;) :)

32940stf’s picture

Assigned: wim leers » Unassigned
Status: Fixed » Active

I have found the problem. The default value for the Depth of taxonomy tree is 1 or blank. If you set to blank for unlimited depth, the configuration page for Heirarchial Select Content Taxonomy does not work with all the values as descibed above. Quick fix is to set the the Depth of taxonomy tree to a value like 3 in my case.

Leaving the value blank contrary to the description of the field breaks the app

wim leers’s picture

Assigned: Unassigned » wim leers
Category: support » bug

Ah! Then that's a bug, or at least something that could be handled more gracefully.

Good catch!

wim leers’s picture

StatusFileSize
new1.49 KB

Please give this patch a try.

wim leers’s picture

Status: Active » Needs review
32940stf’s picture

Sorry Wim, not sure what to do with this patch file. Newbie here. Is there a good tool for merging?

wim leers’s picture

StatusFileSize
new1.04 KB
new12.19 KB

Just do
patch -p0 some_patch.patch
as described in http://drupal.org/patch/apply.

However, since you're such an excellent tester, I've applied it for you. See the attached .module.txt file (remove the .txt extension).

Also, the patch is updated: it was broken by my last commit.

32940stf’s picture

Thanks Wim for the direction. Unfortunaltely the patch didn't seem to make any difference.

wim leers’s picture

Status: Needs review » Needs work

Ok, will have to try to reproduce it myself then.

wim leers’s picture

Reproduced. Working on fixing this.

patchak’s picture

I had the same issue, and I wrote a specific number of depth and it indeed solved the problem. So I confirm that leaving blank for unlimited does not fix it, thanks for the tip!

(subscribing for the new patch)
Patchak

wim leers’s picture

Status: Needs work » Closed (duplicate)

Woops, forgot to update this issue, but this has been fixed in some other issue!