To reprodude: Create a poll with two choices. Edit it, erase the two choices and add two new below. Then the "You must fill in at least two choices" error is fired.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | advpoll_validate_fix.patch | 630 bytes | ChrisKennedy |
To reprodude: Create a poll with two choices. Edit it, erase the two choices and add two new below. Then the "You must fill in at least two choices" error is fired.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | advpoll_validate_fix.patch | 630 bytes | ChrisKennedy |
Comments
Comment #1
ChrisKennedy commentedI tried those steps for a binary poll (after applying patch at http://drupal.org/node/199097) and didn't get that error - it added the new choices and deleted the removed choices. Are you sure about this bug?
Comment #2
anders.fajerson commentedThe trick is to leave the two privously added choices there, but manually emptied (do not use the dynamic remove button). When you sumbit the second time you should have four choices in the form, but only the last two filled in.
Comment #3
ChrisKennedy commentedHere ya go.
Comment #4
anders.fajerson commentedNooo! $_POST!! But should be fine :) Thanks.
Comment #5
ChrisKennedy commentedhttp://drupal.org/cvs?commit=91560
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.