Last modified: 2014-08-04 15:31:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70050, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68050 - SecurePoll: "Approval vote" ignores everything except the first and last options
SecurePoll: "Approval vote" ignores everything except the first and last options
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SecurePoll (Other open bugs)
unspecified
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 68118
  Show dependency treegraph
 
Reported: 2014-07-15 18:14 UTC by Dan Garry
Modified: 2014-08-04 15:31 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Garry 2014-07-15 18:14:55 UTC
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: http://mwcore-securepoll-test.wmflabs.org/wiki/Special:SecurePoll/vote/15
Comment 1 Brad Jorsch 2014-07-16 20:28:21 UTC
Works for me when following the steps listed here.

http://mwcore-securepoll-test.wmflabs.org/wiki/Special:SecurePoll/vote/31
Comment 2 Dan Garry 2014-07-16 20:34:12 UTC
I just tested it again and got the exact same problem, so this is definitely not fixed.

Here's the poll I created: http://mwcore-securepoll-test.wmflabs.org/wiki/Special:SecurePoll/vote/37
Comment 3 Brad Jorsch 2014-07-16 20:38:12 UTC
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.
Comment 4 Dan Garry 2014-07-16 20:56:41 UTC
Chrome 35.0.1916.153 on Mac OS X here.

POST data here: http://pastebin.com/cu9bP748
Comment 5 Gerrit Notification Bot 2014-07-16 21:05:48 UTC
Change 146931 had a related patch set uploaded by Anomie:
HTMLForm: Adjust usage of string.replace for Chrome support

https://gerrit.wikimedia.org/r/146931
Comment 6 Brad Jorsch 2014-07-16 21:10:07 UTC
Bug isn't fixed until the patch is actually merged ;)
Comment 7 Gerrit Notification Bot 2014-08-04 15:25:44 UTC
Change 146931 merged by jenkins-bot:
HTMLForm: Avoid usage of non-standard 'flags' parameter of String#replace

https://gerrit.wikimedia.org/r/146931
Comment 8 Brad Jorsch 2014-08-04 15:31:38 UTC
Now it's merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links