I am not sure if this is a problem with your module or with the VotingAPI (or with me, maybe :) ), but could not find anything of this sort mentioned on their "issues" page, so I decided to post here.
I installed the module and created two polls - first a "Borda Count" and then a regular binary poll. Now when I try to vote on a Borda Count poll and choose two entries as "1st place", I get the expected error message "Multiple choices given the rank of 1". But there are two problems:
1. When I cast my vote the screen refreshed and now I am looking at a different node - at the poll that was the next one in the list of polls.
2. Right below the error message I also get "Your vote was registered", and one vote is added to an entry of a DIFFERENT poll, the one I am looking at now!
I have drupal 4.7.3. I also have the regular poll module enabled, but that shouldn't be a problem, right? :)
Comments
Comment #1
lucky a commentedMore inconsistencies:
I am running a single borda vote on my site (choosing the best player of our soccer club). More often than not I see that one of the choices is displayed as awarded only 1 point instead of the correct number due. I beleive that this is just a display issue, because the next time someone votes the error is corrected, even if the last guy voted for someone else.
Right now I have the best player, who is supposed to have 221 points, displayed with only 1, yet he is still shown at the top of the list, and his percentage and bar length are also displayed correctly. Two players who should have 21 points each are displayed with only one as well (I allow three choices out of 24 players, so points are incremented by 23, 22 or 21).
Please help!
Comment #2
ChrisKennedy commentedThanks for the bug report. I've had that error in the past for the 4.7 version of Advanced Poll, but I tried testing it again and couldn't duplicate the bug.
Does the bug happen if the poll is Instant Runoff, or just Borda Count?
Please add the second report as a separate issue, otherwise this will get too confusing.
Comment #3
ChrisKennedy commentedAlright I was finally able to fix this bug.
http://drupal.org/cvs?commit=49369
Comment #4
(not verified) commented