Closed (outdated)
Project:
Advanced Poll
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2009 at 21:06 UTC
Updated:
9 Mar 2017 at 20:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ChrisKennedy commentedHmm, is that on the most recent -dev tar.gz file?
Comment #2
srjoshAdvanced Poll 6.x-1.x-dev (2009-Apr-11)
Comment #3
asak commentedSame here...
Advanced Poll 6.x-1.x-dev
// $Id: advpoll.module,v 1.21.2.88.2.23 2009/05/30 17:16:40 heyrocker Exp $
Votng API 6.x-2.3
// $Id: votingapi.module,v 1.46.2.24 2009/07/08 16:09:45 eaton Exp $
Comment #4
julesjs commentedSame here...was anyone able to solve this issue?
advpoll-6.x-1.x-dev
// $Id: advpoll.module,v 1.21.2.88.2.23 2009/05/30 17:16:40 heyrocker Exp $
votingapi-6.x-2.3
// $Id: votingapi.module,v 1.46.2.24 2009/07/08 16:09:45 eaton Exp $
Comment #5
elstudio commentedFor me, write-in votes were being double counted, whether or not they were canceled first.
I've attached a patch that I believe fixes both issues.
Please test, and let me know if it works for you.
Comment #6
elstudio commentedLet's try this again. Fixing the double-counting of write-ins required a few more changes.
* I limited _advpoll_writeins_voting_form_submit() to only retrieving the proper tag/cid for a write in. Votes are created back in the appropriate calling function.
Works well for binary polls. Please test for ranking polls.
Comment #7
elstudio commentedWell that last patch wasn't sufficient. This one works.
* I've limited _advpoll_writeins_voting_form_submit() to creating the proper tag/cid for write-ins -- not creating a vote for them. That fixes the double creation of writing votes.
Works well for binary votes.
Please test for ranked votes.
Comment #8
gobinathmD6 is EOL hence this issue won't be fixed (or) attended. So closing it.