decidim / decidim-bulletin-board

GNU Affero General Public License v3.0
5 stars 6 forks source link

Voting can be done at the specified time and date, even if the steps are not completed #316

Open paarals opened 11 months ago

paarals commented 11 months ago

Describe the bug

I have set up an election to start at 18:00 until 19:00. However, I haven't completed all the steps to open the voting; I still need to perform the Key Ceremony. Nevertheless, when it's 18:00, in the public site, I see that I can vote, even though I encounter an error when trying to save the vote.

To Reproduce

  1. Create an election and set a specific time and date.
  2. Publish the election and the elections component.
  3. Wait for the designated time and date to arrive.
  4. You can vote even though the vote is not being saved.

Expected behavior

Voting should not be possible if the "Voting period" step is not activated.

Screenshots

  1. Creation of the election imatge

  2. Status of the election imatge

  3. Voting in the public section imatge imatge imatge

Stacktrace

No response

Extra data

Additional context

No response