You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that I'm a registered user and there is an Election created and this election is configured with an start_date of yesterday and an end_date of tomorrow, then I can enter to the voting booth even though this Election isn't setup (sent to the BB). It should check if the Election is at least blocked.
The same happens if the election is configured with an end_date of yesterday.
To Reproduce
Sign in as admin
Configure an Election with an start_date of yesterday and an end_date of tomorrow
Go to the frontend view
Click on the "Start voting" button
See that there's a somewhat cryptic modal error that it couldn't find the election
Expected behavior
It should not show the button
It should not allow entering by the URL
Screenshots
Stacktrace
In the console there's this error:
TypeError: (intermediate value).data.election is null
Extra data
Decidim Version: 0.28.0.dev
Additional context
No response
The text was updated successfully, but these errors were encountered:
As discussed, there seems to be another related issue to this where the publication button is unattainable as a admin now even when you create a new election.
Describe the bug
Given that I'm a registered user and there is an Election created and this election is configured with an start_date of yesterday and an end_date of tomorrow, then I can enter to the voting booth even though this Election isn't setup (sent to the BB). It should check if the Election is at least blocked.
The same happens if the election is configured with an end_date of yesterday.
To Reproduce
See that there's a somewhat cryptic modal error that it couldn't find the election
Expected behavior
It should not show the button
It should not allow entering by the URL
Screenshots
Stacktrace
In the console there's this error:
Extra data
Additional context
No response
The text was updated successfully, but these errors were encountered: