I'm trying to use hierarchical terms as product categories. I use the hieararchical_select module for an easy selection of the terms.
Unfortunately it seems that is only works in Firefox with Ubercart. In IE and Opera the browser just hangs up and if I navigate away I got the following warnings:
warning: Missing argument 2 for drupal_retrieve_form() in /includes/form.inc on line 320.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /includes/form.inc on line 366.
warning: uasort() [function.uasort]: The argument should be an array in /includes/common.inc on line 2825.
How to reproduce:
Install Drupal 6.8, then Ubercart and hierarchical_select. Create a vocabulary, enable the newly created voc for the page and product content types. Also check the "Use the Hierarchical Select form element for this vocabulary."
Add some terms (at least two) to make a small hierarchy. Without that hierarchy the problem will not occur.
Now when you create a new page you can select any terms for the page and the hierarchical select will work. I tested in Firefox, Opera and IE. Now try to create a new prodcut in Opera or IE and you will see the problem.
Comments
Comment #1
Island Usurper commentedI doubt this is an Ubercart problem, since the catalog is just a Drupal vocabulary. The only unusual thing about it is that it is created as a multiple hierarchy, and I can imagine that hierarchical select might not handle that. I don't know for sure that's the case, though.
Try making another vocabulary with identical settings as the catalog and see if the problem still exists. Also try using other node types besides Ubercart products.
Comment #2
wim leersHS handles vocabularies with terms that have multiple parents just fine. Can you still reproduce the problem?
Comment #3
wim leersClosing while cleaning up the issue queue. Feel free to reopen.