A poll I recently created reverted to being "closed" each time a vote was cast. It was set up to remain open for a week. After a vote was cast, the "closed/open" dropdown displayed "closed" and teh next user coudl not vote until I did admin on it and changed it to being "open."

What am I missing? (I've used polls be 4.3.2 and earlier versions.)

Thanks in advance.

{rb}

Comments

Pascal’s picture

My Polls are regular open for four weeks.
I've updatet this days to Version 4.4.0. Everthing works fine.

When in have clicked the administer-link, I saw that the poll duration was set to unlimited. I revised the poll duration to 4 weeks.
After logging out I've missed the vote-button. Logged in again and tested the settings. Poll status was set to closed.

carlgoil’s picture

hello,
my polls stay active only for the first vote even if in the admin interface it says active.
i used the patch here, http://cvs.drupal.org/viewcvs/drupal/modules/poll.module?r1=text&tr1=1.1...
but did not fix the problem.
someone could help?
thank you,
carl

dseron’s picture

Replace this in poll.module:

$_duration = array_merge(array(0 => t('Unlimited')), drupal_map_assoc(array(86400, 172800, 345600, 604800, 1209600, 2419200, 4838400, 9676800, 31536000), "format_interval"));

with this:

$_duration = array(0 => t('Unlimited')) + drupal_map_assoc(array(86400, 172800, 345600, 604800, 1209600, 2419200, 4838400, 9676800, 31536000), "format_interval");
Steven’s picture

I wonder why you replied to this topic... it was posted almost a year ago and this bug was fixed 4 releases ago.

dseron’s picture

I started modifying version 4.4.0 for use on http://www.dse.nl/. At the time this was the latest release. Indeed I could upgrade by applying the numerous patches again to the current release but fixing it this way was easier for now.