Editing a poll with votes creates inconsistent state

Just pushed a fix that properly reset all votes when the number of options changes since there’s no easy way of “merging” options when they might be added/removed/sorted.

This shouldn’t be too much of a problem since this is only allowed for the first 5 minutes.

https://github.com/discourse/discourse/commit/033761d2f629f45d8409ce7c5a547ff30ebb3543

2 Likes