Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Users Can Submit Candidates After Closing Poll #14

Open
ahoopes16 opened this issue Sep 4, 2021 · 0 comments
Open

[BUG] Users Can Submit Candidates After Closing Poll #14

ahoopes16 opened this issue Sep 4, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ahoopes16
Copy link
Contributor

Describe the bug
At time of writing, a user is able to submit a candidate even after someone runs the !!closepoll command. According to the State Transition table, this is meant to be an invalid command.

To Reproduce
Steps to reproduce the behavior:

  1. Run !!startpoll and begin a poll
  2. Submit a candidate
  3. Run !!closepoll to close the poll
  4. Submit another candidate
  5. Observe that an error is not thrown

Expected behavior
An error message should display, explaining that the poll has already been closed and therefore the submission cannot be accepted.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 1.1.0
@ahoopes16 ahoopes16 added the bug Something isn't working label Sep 4, 2021
@ahoopes16 ahoopes16 self-assigned this Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant