Shouldn't be able to create a poll with a date in the past

Bug #28670 reported by Dafydd Harries
50
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Guilherme Salgado

Bug Description

Steps:

1. go to https://launchpad.net/people/launchpad
2. click "Show Polls"
3. click "Set up a new poll"
4. create a new poll with a date of today or earlier
5. voilà, a poll with no options that you can't modify because it's already open

In order to create a useful poll, it seems it needs an opening date of tomorrow or later, which means that when I create a poll, I have to wait up to 24 hours before people can vote on it.

The poll code should not allow a poll to open if it has less than two options. Perhaps the poll should be in a "new" state until the creator explicitly confirms that it should be in the "open" state. This confirmation should be rejected if the poll has less than two options.

Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Bruno Bord (brunobord) wrote :

same here, with this poll

https://launchpad.net/~xamango-dev/+poll/xamango-wiki/+edit

You can't edit it, nor delete it.
I'd say that LP could allow a user to edit / delete a poll while no-one has voted on. As soon as someone cast a vote, it should be disabled.

Revision history for this message
Morgan Collett (morgan) wrote :

Some sort of date-choosing widget would be handy as there's no obvious way to know the required date/time entry format.

The fact that the poll can't be edited or deleted, or options added after the start date is reached, means that I've created a junk poll with no way to remove it.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

A better date-choosing control is bug 2455.

Revision history for this message
Brian Rogers (brog45) wrote :

I too have just encountered this problem.

https://launchpad.net/~ubuntu-dallas/+poll/meetings-20080621

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
assignee: nobody → salgado
Changed in launchpad-registry:
milestone: none → 2.1.10
status: Confirmed → In Progress
Revision history for this message
Guilherme Salgado (salgado) wrote :

mainline r7162

Changed in launchpad-registry:
status: In Progress → Fix Committed
Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.