Skip to content

accessing results at the end of an time-unlimited election should not be possible #35

@lypwig

Description

@lypwig

Issue

Considering the help message for access to results:

No one will be able to see the result until the date is reached or until all participants have voted.

It should not be possible to create an election with theses options:

  • access to results: at the end of the election
  • voting time: unlimited
  • participants: no one

Steps to Reproduce

Create an election with the options listed above and displayed below:

2020-05-19_14-05-1589892688

Version

on app.mieuxvoter.fr, as of 19/05/2020.

Expected

The confirmation button should not be clickable and it should not be possible to create this election.

Actual

The election is created.

Additional Details

An end-date seems automatically affected, although I chosen a time-unlimited election.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions