Editing a poll option and then reselecting that choice breaks poll percentages

AI-generated summary

A bug was reported where editing a poll option and then reselecting that choice breaks poll percentages, resulting in inaccurate results. JP_ demonstrated the issue with a poll, showing how their selection caused the percentage to increase to 200%. Mittineague suggested a potential fix would be to prevent editing of poll options after any vote has been cast. However, zogstrip claims this issue was fixed a while ago.

  • I’ve edited this choice
  • I won’t edit this choice
0 voters

Steps:

  1. Created poll
  2. Selected first option
  3. Edited first option, saved post, my selection was no longer green/highlighted
  4. Selected option 1 again, shows 200% and the bar extends too far

edit: as more people have voted, it has fallen from 200%, but my extra vote is still making things off.

1개의 좋아요

AFAIK Polls currently allow edits based on a site setting edit time window.
I guess the easiest fix would be to also not allow editing after any poll option had received a vote,

2개의 좋아요

This has been fixed a while ago :wink:

1개의 좋아요