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

introfini’s picture

I can confirm this bug also.

CHLCEO’s picture

I 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

hovemt’s picture

Also 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.

davidkirk’s picture

I am having the same issue at www.thePRguy.com.

JustinJohnson’s picture

I'm also experiencing this random redirection. However for me it doesn't seem to actually record the vote.

hseagle2015’s picture

Just wanted to let you know that the problem is still persistent after upgrade from version 6.14 to 6.15.

introfini’s picture

This happens on a 6.12 version also. I think this is some conflict with another module :-S

introfini’s picture

Assigned: Unassigned » introfini

After 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.

picca’s picture

Subscribing. 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.

internetman’s picture

Drupal 6? Really? Come on!

Subscribing

Luoti’s picture

I'm having this problem too.. Not using page cache fixes it for me. Subscribing

venusrising’s picture

I have the same issue too, Tried:
Rebuilding permissions
Disabling/Re-enabling
clearing cache from DB

No luck

philpro’s picture

I disabled the block caching, this appeared to resolve the issue -- otherwise the form action was picking some random page, it was odd.

venusrising’s picture

Would that then disable ALL block caching?

graytoby’s picture

Version: 6.14 » 6.17

Lates Drupal, the same issue. I use boost module so disabling block cache won't help me much.

ndstate’s picture

Version: 6.17 » 6.19
Priority: Normal » Critical

These problems are still occurring in 6.19.

Has anyone found any solutions?

hovemt’s picture

Using the Block Cache Alter module did the trick for me: http://drupal.org/project/blockcache_alter

dpearcefl’s picture

Priority: Critical » Major
Status: Active » Postponed (maintainer needs more info)

Is this issue fixed in the latest D6? is there any interest in pursuing this issue?

dpearcefl’s picture

Status: Postponed (maintainer needs more info) » Active
hseagle2015’s picture

Yes, the problem is still there, in Drupal 6.22. I'd be glad if it could be resolved.

dpearcefl’s picture

Is 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.)

blackrain1983’s picture

i 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

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.