Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON parse fails while trying to display some ballots. #90

Closed
Tracked by #73
Viterbo opened this issue Sep 19, 2022 · 3 comments · Fixed by #104 or #117
Closed
Tracked by #73

JSON parse fails while trying to display some ballots. #90

Viterbo opened this issue Sep 19, 2022 · 3 comments · Fixed by #104 or #117
Assignees
Labels
🐛 Bug Something isn't working

Comments

@Viterbo
Copy link
Collaborator

Viterbo commented Sep 19, 2022

The code assumes all ballots come with a valid JSON string in the 'content' field. However, there are some that come with the text "Telos Amend Proposal" with cause the parser to break, and the popup just gets stuck.

ballots-parse-break

@Viterbo
Copy link
Collaborator Author

Viterbo commented Sep 21, 2022

I close this issue because is fixed and merged

@Viterbo Viterbo closed this as completed Sep 21, 2022
@Viterbo
Copy link
Collaborator Author

Viterbo commented Sep 22, 2022

I'm reopening this issue because is not solved.
Somehow I didn't push the try-catch fix that I mention here in the comments, so the problems still remain.

@Viterbo
Copy link
Collaborator Author

Viterbo commented Sep 22, 2022

I close this issue is fixed and merged

@Viterbo Viterbo closed this as completed Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
1 participant