When ending an event, its poll choices get scrambled.
Here's an example with a poll that takes 5 to 1 as votes. Since this is a ranking poll, the order is significant.
The attendee sees the choices in the same order, as intended.
However, after ending the event and reviewing its reports, the order of results gets shuffled (in this case the previously first option, 5, was moved down to last option):
This scrambling is "preserved" when duplicating an event. That's actually how I found out about it because I noticed it in the duplicated event first and then found out that the shuffling occurs during event ending, not duplication.
EDIT: Just noticed that the CSV export of the poll report shows the choices in the correct order, even for duplicated events. So this seems to be a frontend-only or API issue, the data in the backend seems to be stored fine.
Steps to reproduce
- Create a new event (live right away)
- Join the event as
Event Manager
- Add a poll interaction with 5 distinct options that have a natural / recognizable order
- Enable the poll
- Let two other participants (e.g. private browser tabs) join the event and submit votes to the poll
- End the event
- View the event's reports for the poll
Current behavior
The poll choices have a different order compared to when the event was active.
Expected behavior
The poll choices have the same order compared to when the event was active.
Additional information
- When ending the event with participation in the poll, the order is scrambled every time. I tested this three times now. So the bug looks reproducible to me.
- When ending the event without having participated in the poll, the order is preserved. I tested this twice with completely new events in both cases. So polls having "data" seems to make a difference.
- The CSV export of the poll report shows the choices in the correct order, even for duplicated events. So this seems to be a frontend-only or API issue, the data in the backend seems to be stored fine.
When ending an event, its poll choices get scrambled.
Here's an example with a poll that takes 5 to 1 as votes. Since this is a ranking poll, the order is significant.
The attendee sees the choices in the same order, as intended.
However, after ending the event and reviewing its reports, the order of results gets shuffled (in this case the previously first option,
5, was moved down to last option):This scrambling is "preserved" when duplicating an event. That's actually how I found out about it because I noticed it in the duplicated event first and then found out that the shuffling occurs during event ending, not duplication.
EDIT: Just noticed that the CSV export of the poll report shows the choices in the correct order, even for duplicated events. So this seems to be a frontend-only or API issue, the data in the backend seems to be stored fine.
Steps to reproduce
Event ManagerCurrent behavior
The poll choices have a different order compared to when the event was active.
Expected behavior
The poll choices have the same order compared to when the event was active.
Additional information