We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
max_votes_per_option
max_votes_amount
Describe the bug It is currently possible to create an assignment poll where the max per option is bigger than the max per vote
How To Reproduce
Payload from client (handle_request)
[ { "action": "poll.create", "data": [ { "meeting_id": 2, "title": "Ballot (2)", "onehundred_percent_base": "valid", "pollmethod": "Y", "type": "pseudoanonymous", "global_abstain": false, "global_no": false, "global_yes": false, "max_votes_amount": 1, "min_votes_amount": 1, "max_votes_per_option": 2, "options": [ { "content_object_id": "user/1" } ], "content_object_id": "assignment/5", "entitled_group_ids": [ 7 ], "backend": "fast" } ] } ]
Expected behavior The backend should throw an Error if you try to create a poll with "max_votes_per_option" > "max_votes_amount"
The text was updated successfully, but these errors were encountered:
connected client Issue OpenSlides/openslides-client#4453
Sorry, something went wrong.
hjanott
Successfully merging a pull request may close this issue.
Describe the bug
It is currently possible to create an assignment poll where the max per option is bigger than the max per vote
How To Reproduce
Payload from client (handle_request)
Expected behavior
The backend should throw an Error if you try to create a poll with "max_votes_per_option" > "max_votes_amount"
The text was updated successfully, but these errors were encountered: