Closed (won't fix)
Project:
Voting API
Version:
6.x-2.0-rc2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2009 at 02:48 UTC
Updated:
7 Dec 2017 at 08:35 UTC
Jump to comment: Most recent
Comments
Comment #1
SnapMaster commentedI have this problem too. Need solution.
Comment #2
nexus666 commentedMe too! This becomes an issue when you are using Views together with Voting API / Fivestar. If a guest votes on the same item twice from the same computer, and the time between the votes exceeds anonymous vote rollover, you will duplicate rows in the View.
Comment #3
sorahn commentedSame problem here. IF you look in the database at the "variables" table, you can find "votingapi_anonymous_window"
When set to "Never" it's set to 's:2:"-1";'. That's all nice and fine, except the actual calculation algorithm in the module doesn't work with the negative one. I changed mine to 's:8:"31556926";' (the number of seconds in a year) and that works. Hopefully someone in charge of the module can figure out where the calculation error is.
Comment #4
felipe commentedSame problem here. The solution #3 works.
Comment #5
eaton commentedFixed in the dev snapshot. Thanks!
Comment #7
el_reverend commentedThis issue still persists in 6.x-2.3, etc. It does not recognize the -1 variable. Updated the priority to Major since this is a problem that undermines the modules major functionality.
Comment #8
alreaud commentedI've got a similar problem at http://coloradoan-anti-censorship.net, except that the module is ignoring the Voting-API settings. I have the following configuration:
Poll/Core 6.22
Voting API 6.x-2.3
MySQL 5.0.91
PHP 5.2.17
Preformance Options Enabled, Normal Caching Mode, 5 minute lifetime.
Voting API is set to:
Recent Updates: CKEditor - WYSIWYG HTML editor to 6.x-1.6
My intent is to allow anonymous voters to vote at will, and also view the results. So this is what I believe should be happening with the above settings (please correct me if I'm wrong):
However what happens now is that after step 1, Anonymous is locked into voting tally, regardless of whether I clear the cache, vote with a test account, etc. If I'm logged in as a user, I get the vote button, then the tally with a vote cancel button. It just doesn't appear to work correctly with Anonymous users. Maybe it never did and I hadn't exercised it enough to catch the bug. If I come in from an IP address that I know hasn't voted, i.e. using Tor, then it shows the vote button. I would think with the above settings, it would ignore the IP address.
The actual poll is at http://coloradoan-anti-censorship.net/poll/should-medical-marijuana-disp...
Comment #10
legolasboDrupal 6 is no longer supported. Closing old issues to clean up the issue queue.
Please reopen and update this issue if this is still an issue in the D7 or D8 version.