dedis/d-voting

Internalisation - no options are shown for the vote

Closed this issue · 3 comments

Screenshot 2023-08-25 at 16-15-24 D-Voting

although the backend is returning the correct data

{"FormID":"516b33d5bb22f46aa152b5e8e525faa6bfe074704fa39163be2c962ccf897948","Configuration":{"MainTitle":"{\"en\":\"Companions\",\"fr\":\"\",\"de\":\"\"}","Scaffold":[{"ID":"rrssPs5S","Title":"Rose Tyler","Order":[],"Subjects":[],"Selects":[],"Ranks":[],"Texts":[]},{"ID":"HR4hym9o","Title":"Martha Jones","Order":[],"Subjects":[],"Selects":[],"Ranks":[],"Texts":[]},{"ID":"7OAl3V0W","Title":"Donna Noble","Order":[],"Subjects":[],"Selects":[],"Ranks":[],"Texts":[]}]},"Status":1,"Pubkey":"07a33d31bb872c61885243546a44295aa607cfd69b1a9c87cf753c6ed1b855dc","Result":[],"Roster":["dela-worker-0:2000","dela-worker-1:2000","dela-worker-2:2000"],"ChunksPerBallot":0,"BallotSize":0,"Voters":["kvCOOCsJjA","9fAJ8wKVsw"]}

reproduced on Firefox 116 and Chromium 115

on a3e29b5 the problem seems to be solved, although I don't see any immediate relationship between these two - I'll leave the ticket open until it this becomes clearer

the problem is caused by the initial language not being set properly, and can be reproduced by deleting the browser cache and revisiting the site - it only worked above because I had cycled through the languages to test the form list

has been resolved