Poll Results Are Registered Twice for Some Users

I found this bug on another forum and decided to report it.

Some of the results were recorded twice (same profile picture comes twice, and if the cursor goes over them, the same username shows up). One of my fellow users said this affected 18 people out of 58 people in this Multi-Choice Poll. Could someone help?

Forum: Infinite Flight Community

Providing us with reproduction steps would help tremendously :wink:

Also, was the post/poll edited?

I don’t remember as it is 1 week old, but I think I changed something by typing before actually posting it.

poll type=multiple min=1 max=5 public=true]

  • iOS
  • Android
  • Windows Phone
  • Windows PC/Desktop
  • macOS
  • Ubuntu
  • Wii
  • Wii U
  • Nintendo Switch
  • Xbox (original)
  • Xbox 360
  • Xbox One
  • PlayStation 2
  • PlayStation 3
  • PlayStation 4
  • PlayStation Portable
  • PlayStation Vita
  • Hey! I wanted to choose something not in this list! (Please Comment)
    [/poll]

I guess I changed public=false into public=true by typing and that must have been the cause (not sure)

Can you link me to the actual poll?

2 Likes

Oh my this is one tricky tricky bug @tgxworld. Added a test for this as well, longer term we probably want a proper model here.

https://github.com/discourse/discourse/commit/43c0111ca156b99881cf5e489c1364a4c3ef5b90

4 Likes

Another Thing: This first showed up on Microsoft Edge (Windows10), so I decided to check it on Mozilla Firefox and the same error was there

Sure, this was not related to browser, fix is not deployed at https://community.infinite-flight.com/t/would-you-rather-if-edition/78032/541 and results look A-:ok:

3 Likes