Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to reproduce: Create a poll. Fill in the question field and two choices. Click preview. The question field is now under the choice fields.
Comment | File | Size | Author |
---|---|---|---|
#1 | poll_weights.patch | 830 bytes | quicksketch |
Comments
Comment #1
quicksketchNice catch fajerstarter. I was a little hesitant about setting two weights to the same value in poll, let's just make them distinct so we're ensured this doesn't happen.
Comment #2
quicksketchComment #3
anders.fajerson CreditAttribution: anders.fajerson commentedReady.
Comment #4
anders.fajerson CreditAttribution: anders.fajerson commentedReady = I tested it and it fixes the problem (sorry for not mentioning that).
Comment #5
cosmicdreams CreditAttribution: cosmicdreams commentedI think my issue is related. I created a poll with the question and 2 choices and saved it. I now have this error that persists:
I also am unable to unpublish or delete the errant poll
Comment #6
Gábor HojtsyUndefined objects are not related to form ordering, sorry. Comitted this patch, thanks.
Comment #7
(not verified) CreditAttribution: commented