meet-eat / meet-eat-server

Backend implementation of Meet & Eat.
MIT License
0 stars 0 forks source link

[BUG] Reducing number of participants after offer creation #9

Closed holtvogt closed 4 years ago

holtvogt commented 4 years ago

Circumstances When reducing the number of participants of a created offer it is possible to reduce to a number smaller than the number of users currently participatin.

How to Reproduce Steps to reproduce the behavior:

  1. Create offer
  2. Let user participate, e.g. two user
  3. Edit the offer and reduce the max. participants to e.g. one and save it

Expected behavior There must be some sort of check and barrier to prevent setting the number to a smaller number than the actual amount of participating users.

Screenshots Screenshot 2020-08-25 204609