Hi,
I noticed that the hierarchical taxonomy module have lots of problems with form modified via ajax. For example with imagefield, nodereference etc...
When I choose first a category, it works pretty good, but, if I upload an image first, and then choose a hierarchical select. (I have terms with children and I force users to choose in the deepest term).
Result : The hierarchical select crash to list children of a term when I choose it in the list.
After the crash, if I do a page refresh, this is what I get
* warning: Missing argument 2 for drupal_retrieve_form() in /drupal/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 /drupal/includes/form.inc on line 366.
* warning: uasort() [function.uasort]: The argument should be an array in /drupal/includes/common.inc on line 2731.
Comments
Comment #1
wim leers"Pretty good"? Either it works or it doesn't. I'm assuming it's the former.
Interesting. Must be a bug indeed.
Comment #2
zmove commented"When I choose first a category, it works pretty good,"
It works but it's very slow (maybe 2-3 sec to show the children) but I'm in dev, I have administration menu, localization which eat ressources, no cache... so maybe it's normal.
Comment #3
wim leersIf it's very slow, then it's definitely your server or Drupal modules that are to blame. It should load in about half a second.
That doesn't rule out the bug you're experiencing though. It's a form cache problem.
Comment #4
uprojects commentedNo there are a real problem. I get the same error when user create new items:
Comment #5
wim leersDrupal.behaviors is now implemented: http://drupal.org/node/354445#comment-1250346. Does your problem still exist?
Comment #6
wim leersClosing while cleaning up the issue queue. Feel free to reopen.
Comment #7
czeky commentedHi, having exactly the same + maybe in conection with "Received an invalid response from the server." issue, because this:
* warning: Missing argument 2 for drupal_retrieve_form() in /data/bigreality.cz/www_data/www/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 /data/bigreality.cz/www_data/www/includes/form.inc on line 366.
* warning: uasort() [function.uasort]: The argument should be an array in /data/bigreality.cz/www_data/www/includes/common.inc on line 2843.
is displayed only after refreshing the page after error message "Received an invalid response from the server".
many thanx for help
Comment #8
fourmi4x commentedI have exactly the same problem as described by czeky.
I looked to the thread dedicated to the "Received an invalid response from the server" problem
(http://drupal.org/node/538022), but can't get it to work - Tried with both the 3.0 and the .dev version
Any update on this issue ?
I'm suscribing !
Comment #9
wim leersLet's continue in that other issue instead of hijacking this one.