Closed (won't fix)
Project:
Active Select
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Feb 2007 at 07:23 UTC
Updated:
1 Feb 2013 at 10:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
vm commentedI can confirm this. I was just walking myself through the tutorial found here: http://drupal.org/node/74747
and cannot get the parent drop down to populate.
Comment #2
vm commentedeveryone once in a while I can get the parent drop down to disappear though.
Comment #3
vm commentedmarking this as critical since it doesn't seem to work under any circumstances. Just tried with newest release of category and still cannot get the parent drop down to populate.
Comment #4
bdragon commented(assigning to self)
I'll be looking into the category+activeselect problems soon. Something's definately wrong with multiple hierarchy and Category...
Comment #5
vm commentedThanks bdragon!
Comment #6
slybanshee commentedThis issue is also submitted in category's bugs:
http://drupal.org/node/115582 - made that duplicate because bdragon already assigned this here.
Comment #7
bdragon commentedHmm, the code is trying to {for ... in} an array. Bad bad bad...
Still working on it..
Comment #8
slybanshee commentedThank you bdragon! Your work is very appreciated!
I've submitted one more issue on Active select: http://drupal.org/node/121047 It is concerning Internet Explorer behavior with Active Select. May be it would be suitable if you looked at this too (since you are digging the code by now). Number of users with IE still remain very large, so this bug becomes critical.
Comment #9
shane birley commentedhttp://drupal.org/node/129027
Comment #10
knseibert commentedHi there,
i found a solution which is for now working for me.
In the category_activeselect() function line round about 1400:
These lines of code result in a mix of the result of _category_category_select_options and the additional $options provided within the foreach statement.
IMHO the $output should only contain the options from within foreach.
I have just replaced $options with $select_options in the first 2 lines (_category_category_select_options(...) results and foreach) and what can i say. For the time beeing it works for me.
Patch attached. Feedback appreciated.
Comment #11
inforeto commentedPatch worked. Thanks for solving one of my problems!
Since it is a small patch i didn't find anything else to review and hope it gets commited soon.
Comment #12
summit commentedHi,
THis behaviour is also in 4.7.6.
Is this patch also working for 4.7.6?
greetings,
Martijn
Comment #13
knseibert commentedHi Martijn,
here's the patch for version 4.7. I just took a quick look at the code and it seems to be the same problem. However i did not test this patch.
Comment #14
bdragon commentedPatch from #10 committed to DRUPAL-4-7, DRUPAL-5, and HEAD.
Thanks!
--Brandon
Comment #15
knseibert commentedProblem still exists in current 5.x-1.x-dev CVS. Patch still valid.
Comment #16
liquidcms commentedI am not using ASelect but i get the same issue when editing a container.
When i edit, the "Parents" field is unset. So when i submit i get "Parents field is required".
I only have the one option under Parents: root.
Pretty sure this was fixed back when i used cat module in Dr4.7. But it is back now for Dr5.7 and lastest dev version of cat module.
Comment #17
hazaThis version of Active Select is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.