Steps to reproduce
- Create a new poll
- Vote for an option
- Edit the poll and add another option
Expected result
The poll should show the additional option and the already cast votes should be visible.
Actual result
The additional option is visible and the votes are still there, but the total_votes are gone which results in invalid results.
I voted for “Yes” in the following example and then added the “I don’t know” option to it.
- Yes
- No
- Maybe
- I don’t know
0 voters
Bonus bug
Same steps as above with the following additional steps:
- Click “Hide results” when the poll is already “destroyed”.
- Vote for another option like “No”.
See the following example for the result of those actions:
- Yes
- No
- Maybe
- I don’t know
0 voters