Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-3.0-rc5
Component:
Code - Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Oct 2008 at 19:26 UTC
Updated:
21 Oct 2008 at 15:01 UTC
Hi,
I had this issue for RC4, and it remained in RC5...
When I select the lineage of two terms in the content taxonomy field, I get this error message:
>> warning: array_keys() [function.array-keys]: The first argument should be an array in
...\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 388
Nothing is getting saved to the node.
The HS widget save option is set to "Save as tag", but other options don’t change this behavior.
Comments
Comment #1
wim leersOk so Token works in unexpected(ly stupid) ways… an easy fix though.
Comment #2
Taras Zavaliy commentedThank you for the quick fix Wim!
HS widget for Content_taxonomy is still working with some issues though. For the Multiple values setting it says "This setting is now managed by the Hierarchical Select widget configuration", but if you want to save lineage of terms, you need to enable "Multiple values" setting first, and only then enable HS widget. Otherwise it throws an error in content_taxonomy.module at line 134.
So, I believe, HS widget doesn't automatically manage "Multiple values" setting properly.
Comment #3
wim leersPlease repeat what you just posted in a separate issue. That's easier to track things. Thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.