fairvotereform / RankIt

https://rankit.vote
1 stars 2 forks source link

Poll management page blank for some users #179

Open ggordn3r opened 4 years ago

ggordn3r commented 4 years ago

Multiple users are encountering an issue where their poll management page is blank. I attempted to access it as an admin and encountered the same bug. See, for example: https://rankit.vote/polls/TRQIJvUiau0iHDYZtqAq Screen Shot 2020-10-24 at 4 13 05 PM

Another user reported an identical problem with this poll but I am able to see it when logged in as an admin: https://rankit.vote/polls/7sNW7a2p2kemAHvkr1VB

ggordn3r commented 4 years ago

For my reference: reported by Rachel Brown and Brendan Quinn

proggeramlug commented 3 years ago

hmm, so the poll is visible to me as well.

the one that is not loading at all has a simple reason for that: it does not exist ... where did you get the link from and do you know what the poll's title was or so?

the poll itself is reachable just fine for me: https://rankit.vote/vote/7sNW7a2p2kemAHvkr1VB which URL are they trying to access exactly?

czawora commented 3 years ago

This is issue has resurfaced for some users. We cannot replicate it on our end. This poll is a latest example someone sent to us. https://rankit.vote/polls/VEQSADrdzZIQPQKFju0Y

czawora commented 3 years ago

At least partially solved in commit 32baa426bb0b2f0c0514629cdd285009c19c15fe. There was a problem in detail-component init logic where user objects were checked for a 'roles' field. However, not all users have this field and so init would fail. Partial fix was to ensure some kind of init was completed even if the user had no roles.