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

🐛 Unable to Vote on New Poll After Previous Poll is Closed #2508

Open
kneerose opened this issue Dec 11, 2024 · 0 comments
Open

🐛 Unable to Vote on New Poll After Previous Poll is Closed #2508

kneerose opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar

Comments

@kneerose
Copy link
Contributor

Area

Proposal Pillar

Domain

preview.gov.tools

Which wallet were you using?

No response

Context

When a new poll is created on a proposal after the original poll has been closed, users who have previously voted on the closed poll are unable to vote on the new active poll. The system incorrectly prevents voting by stating that a vote already exists for the user, even though the new poll is active. Ideally, users should be allowed to vote on the new poll, as the previous poll is no longer relevant once closed

image

Steps to reproduce

  1. Connect wallet.
  2. Create a proposal and add an initial poll.
  3. Vote on that poll using a different wallet.
  4. Close the initial poll using the proposal owner's wallet.
  5. Add a new poll on the same proposal.
  6. Try to vote using same voter on the new poll (as the original poll is now closed).
  7. The system shows an error: "Poll vote for this user already exists."

https://www.loom.com/share/b36f0d7aec0e48cda9cbc5b5cdc3ff90?sid=71942abf-dc43-41f5-8954-44ce8536d8b7

Actual behavior

The system displays an error message stating that the user has already voted on the poll, even though the new poll is active.

image

Expected behavior

The user should be able to vote on the new, active poll, even if they previously voted on the now-closed poll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar
Projects
Status: No status
Status: No status
Development

No branches or pull requests

2 participants