dedis/d-voting

UI - frontend confirms creation of form despite DELA nodes rejecting transaction

PascalinDe opened this issue · 0 comments

when creating a new form and the DELA nodes reject the transaction, the user interface is not showing the error

Actual behaviour: the frontend confirms the creation of a new form, provides an ID for it and tries to load its view (which fails since it does not actually exist)

d-voting-dela-worker-2-1  | 2023-08-11T14:54:29Z WRN pkg/mod/go.dedis.ch/dela@v0.0.0-20221010131641-9c479e68be18/core/ordering/cosipbft/pbft/mod.go:639 > transaction not accepted addr=dela-worker-2:2000 reason="identity not authorized: bls:86a01d5c9305307d (permission: rule 'go.dedis.ch/dela.Evoting:all': unauthorized: [bls:86a01d5c9305307d])"
d-voting-dela-worker-1-1  | 2023-08-11T14:54:29Z WRN pkg/mod/go.dedis.ch/dela@v0.0.0-20221010131641-9c479e68be18/core/ordering/cosipbft/pbft/mod.go:639 > transaction not accepted addr=dela-worker-1:2000 reason="identity not authorized: bls:86a01d5c9305307d (permission: rule 'go.dedis.ch/dela.Evoting:all': unauthorized: [bls:86a01d5c9305307d])"
d-voting-dela-leader-1    | 2023-08-11T14:54:29Z WRN pkg/mod/go.dedis.ch/dela@v0.0.0-20221010131641-9c479e68be18/core/ordering/cosipbft/pbft/mod.go:639 > transaction not accepted addr=dela-leader:2000 reason="identity not authorized: bls:86a01d5c9305307d (permission: rule 'go.dedis.ch/dela.Evoting:all': unauthorized: [bls:86a01d5c9305307d])"

Screenshot 2023-08-11 at 16-54-32 D-Voting

Expected behaviour: the frontend shows an error informing the user that the form could not be created