Not sure if this is a bug report or a feature request.

With beta 5, I had a poll that said the total votes is 4 (from the node) but the two bars in the binary poll were 2 and 1 = 3 votes. Looking in the votingapi_vote table, it looks like the uncounted vote was due to a multiple votes from the same IP - my guess.

Now, this may have been my fault... perhaps I caused the duplicate IP vote by logging in and out as different users. Anyway, I am retheming the poll anyway, so I was going just calculate the percentage myself. But theme_advpoll_bar only gives me the information about each bar, so I can't override the percentage because I don't know the total votes... what happens is the percentages are 50% and 25% because they are calculated from the nodes vote total.

Hope this helps, let me know if I can clarify at all.

Comments

anders.fajerson’s picture

The total votes shouldn't be higher than the the number of votes on all choices - they can be less though when one user selects more than one choice.

Can you try to duplicate this and describe which steps you do to make this happen?

sime’s picture

Status: Active » Closed (won't fix)

I had already nuked the votingapi_cache table which I guess had all the useful info. I'll follow up if I manage to reproduce again.