Editing a poll changes votes to NaN%

Reproduce:

  1. Create a new multiple-choice poll that follows some lead-in text.
  2. Cast at least one vote.
  3. Edit the post and change only (that preceding text).

Expected results:

  • The poll still works with updated text.

Actual results:

  • Vote totals are gone and the following is displayed with no way to cast further votes:

3 Likes

This should be fixed now :mouse:

https://github.com/discourse/discourse/commit/151dea40885b3191379da2df5ae44c4235ddaab0

3 Likes