Page MenuHomePhabricator

SecurePoll: "Approval vote" ignores everything except the first and last options
Closed, ResolvedPublic


  1. Make a poll.
  2. Choose approval vote.
  3. Add one question, with four options.
  4. Go to vote in the poll.
  5. Only the first and last options appear.

Example here, where there were four options, A through D, but only A and D display:

Version: unspecified
Severity: critical



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:33 AM
bzimport set Reference to bz68050.
bzimport added a subscriber: Unknown Object (MLST).

I just tested it again and got the exact same problem, so this is definitely not fixed.

Here's the poll I created:

Which browser are you using? Maybe there's something off in the JS. Firefox 31 here.

If you can capture the POST data when creating the poll, that would also be helpful.

Chrome 35.0.1916.153 on Mac OS X here.

POST data here:

Change 146931 had a related patch set uploaded by Anomie:
HTMLForm: Adjust usage of string.replace for Chrome support

Bug isn't fixed until the patch is actually merged ;)

Change 146931 merged by jenkins-bot:
HTMLForm: Avoid usage of non-standard 'flags' parameter of String#replace