Hi,
I just tested this on two different Drupal 5 installations (5.2 and 5.10). Same problem.
When I try to add users to the electoral list on a new decision in a fresh install, nothing happens.
The selected user (the dropdown works) does not appear in the table.
I tried toggling the "Use electoral list by default:" setting. Don't know what else to do.
Thanks!
dru
Comments
Comment #1
Anonymous (not verified) commentedThere are two form functions that are not named correctly.
The form id for submitting new electors is "decisions_electoral_list_form", so drupal is expecting to find two functions, decisions_electoral_list_form_validate() and decisions_electoral_list_form_submit().
Fix:
There is also a duplicate of the form code that can be removed. Lines 845 to and including 872 can be removed entirely since the actual form is delivered through the function call on line 873.
Sorry about not providing a proper patch file, but I didn't have the time and tools at the moment.
Comment #2
anarcat commentedFix committed, thanks.