Hi,

I was playing around with the AHAH D6 dependent dropdown module and I came to following issues:

1. Select Percussion from the Master Dropdown and Timpani from the Dependent Dropdown, finally
click on Save. As you can see the Master Dropdown retains its value but the Dependent Dropdown
is reset to the first value available (Bass Drum)

2. Select Percussion in the Master Dropdown and Snare Drum in the Dependent Dropdown, finally
refresh the page. You'll see the Master Dropdown retains correctly its value (Percussion) but the
Dependent Dropdown (UNBELIEVABLE) is set to Violin, which not even belongs to Percussion, it
belongs to Strings! Morover the following error message is displayed: An illegal choice has
been detected. Please contact the site administrator
,

3. Whichever the selection combination you choose, when you click on Save and then refresh the
page you get the error: An illegal choice has been detected. Please contact the site
administrator

4. The default value of the Dependent Dropdown is set with the following instruction:

'#default_value' => isset($my_values['dependent_dropdown']) ? $my_values['dependent_dropdown'] : '',

what exactly $my_values is used for? I tested thoroughly the code and it's never set.

I hope these bugs could be fixed?

Thanks,
Frank.

Comments

mile23’s picture

Status: Active » Needs work

Definately a bug.

Anyone have a patch?

mile23’s picture

Assigned: phpaddicted » Unassigned
mile23’s picture

Status: Needs work » Closed (won't fix)

It's end-of-life time for the 6.x-1.x branch of Examples. See #2642596: D6, D7 Roadmap for Examples