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

UI - frontend UI proposes "cancelling a form" which is not supported by the backend #323

Closed
Tracked by #330
PascalinDe opened this issue Aug 31, 2023 · 1 comment

Comments

@PascalinDe
Copy link
Contributor

trying to "cancel" a form from the UI leads to it running into a timeout from the backend, that does not recognize this kind of transaction

d-voting-dela-worker-0-1 | 2023-08-31T08:50:04Z WRN pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/pbft/mod.go:639 > transaction not accepted addr=dela-worker-0:2000 reason="failed to decrypt ballots: wrong type of transaction: types.CancelForm"

@PascalinDe PascalinDe changed the title frontend UI proposes "cancelling a form" which is not supported by the backend UI - frontend UI proposes "cancelling a form" which is not supported by the backend Sep 1, 2023
@PascalinDe PascalinDe mentioned this issue Sep 1, 2023
8 tasks
@emduc
Copy link
Contributor

emduc commented Sep 11, 2023

This seems again like the same mistake from #315 (evil copy paste). This should be resolved by changing this line to the correct command in the proxy (to CmdCancelForm)
https://github.com/dedis/d-voting/blob/e8d6e50f193c296eedaaa5bc3dc0b550bf9e8343/proxy/election.go#L380C65-L380C81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants