1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Poll percentage bug

Discussion in 'Resolved Bug Reports' started by SheepCow, Mar 16, 2011.

  1. SheepCow

    SheepCow Well-Known Member

    We've found a bug where if you create a muliple vote poll with say, 4 options, then vote for options 1, 2, 3, 4 you'll get:

    1 = 25%
    2 = 25%
    3 = 25%
    4 = 25%

    If someone then edits the poll and adds a fifth answer, votes for it, we ended up with:

    1 = 25%
    2 = 25%
    3 = 25%
    4 = 25%
    5 = 25%

    Which is 125%!
     
    MYstIC G and Ranger375 like this.
  2. Mike

    Mike XenForo Developer Staff Member

    I think the initial characterization of the poll is actually incorrect. But the crux of this is that multiple vote polls don't add to 100%. It's essentially approval voting. If I make a poll with 4 options and I vote for all of them, as the only voter, each option was selected by 100% of the voters: http://xenforo.com/community/threads/poll-bug-test.13874/

    So, this is totally expected and making everything add to 100% would end up being nonsensical (for a multi vote poll).
     
  3. SheepCow

    SheepCow Well-Known Member

    That actually makes sense
     

Share This Page