Shouldn't be able to create a poll with a date in the past
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Guilherme Salgado |
Bug Description
Steps:
1. go to https:/
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 |
Changed in launchpad-foundations: | |
assignee: | nobody → salgado |
Changed in launchpad-registry: | |
milestone: | none → 2.1.10 |
status: | Confirmed → In Progress |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
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.