After I upgraded my Drupal from version 6.13 to 6.14, I noticed an annoying bug with Poll module. If anonymous users select an poll option and click the Vote button, their vote is recognized but sometimes Drupal redirects them to a random page that they didn't even visited before.
Also, when users navigate to other pages, they cannot see poll results. Instead they are shown only poll options and Vote button. If they click Vote button again (this time without selecting an option), they can see the poll results again, as long as they don't navigate to another page.
Authorized users don't have this problem, although they are sometimes redirected to a random page after clicking the Vote button.
You can see this bug in action by visiting my website (link should be visible at my profile page).
Comments
Comment #1
introfini commentedI can confirm this bug also.
Comment #2
CHLCEO commentedI am experiencing a similar issue where the poll is in the left side nav bar and will no longer show voting options to anonymous or authorized users all that is displayed are the results of previous votes - was working fine in 6.13
Comment #3
hovemt commentedAlso have the problem of random page redirects on anonymous votes and results not displaying. However, the random page redirects all seem to go to a calendar page.
Comment #4
davidkirk commentedI am having the same issue at www.thePRguy.com.
Comment #5
JustinJohnson commentedI'm also experiencing this random redirection. However for me it doesn't seem to actually record the vote.
Comment #6
hseagle2015 commentedJust wanted to let you know that the problem is still persistent after upgrade from version 6.14 to 6.15.
Comment #7
introfini commentedThis happens on a 6.12 version also. I think this is some conflict with another module :-S
Comment #8
introfini commentedAfter a couple of hours debugging this I traced it down to a cache problem.
This only happens if the block cache is enabled.
Can someone else please confirm this?
To test this, disable block cache then clear cached data.
After each vote truncate poll_votes table (backup first!) to be able to vote again as anonymous.
Comment #9
picca commentedSubscribing. I have problem with this too. Unfortunately disabling caching does not solve the problem. Try voting. Then clicking on some link (homepage in my situation) and then voting again. You will most certainly get random page again.
Comment #10
internetman commentedDrupal 6? Really? Come on!
Subscribing
Comment #11
Luoti commentedI'm having this problem too.. Not using page cache fixes it for me. Subscribing
Comment #12
venusrising commentedI have the same issue too, Tried:
Rebuilding permissions
Disabling/Re-enabling
clearing cache from DB
No luck
Comment #13
philpro commentedI disabled the block caching, this appeared to resolve the issue -- otherwise the form action was picking some random page, it was odd.
Comment #14
venusrising commentedWould that then disable ALL block caching?
Comment #15
graytoby commentedLates Drupal, the same issue. I use boost module so disabling block cache won't help me much.
Comment #16
ndstate commentedThese problems are still occurring in 6.19.
Has anyone found any solutions?
Comment #17
hovemt commentedUsing the Block Cache Alter module did the trick for me: http://drupal.org/project/blockcache_alter
Comment #18
dpearcefl commentedIs this issue fixed in the latest D6? is there any interest in pursuing this issue?
Comment #19
dpearcefl commentedComment #20
hseagle2015 commentedYes, the problem is still there, in Drupal 6.22. I'd be glad if it could be resolved.
Comment #21
dpearcefl commentedIs the description at the top of the issue still accurate? Have you ever tried to duplicate the issue on a stock Drupal install with no custom or contrib modules?
(Just trying to figure out if I have a change of duplicating this locally.)
Comment #22
blackrain1983 commentedi found it to solve this problem do two thing
1- go to site performance and disable block cache
2- go to permissions and give all users inspect all votes permission
that's all what you need to solve this problem
i hope this help