Javi Martín
a54d424aed
Add missing validation rule to poll answers
...
We were checking we didn't have more votes than allowed in the case of
questions with multiple answers, but we weren't checking it in the case
of questions with a single answer. This made it possible to create more
than one answer to the same question. This could happen because the
method `find_or_initialize_user_answer` might initialize two answers in
different threads, due to a race condition.
2024-06-26 15:41:44 +02:00
..
2024-06-13 19:13:01 +02:00
2024-05-09 14:28:33 +02:00
2024-06-05 16:10:56 +02:00
2023-09-06 19:00:56 +02:00
2021-12-16 13:57:00 +01:00
2023-09-06 19:00:56 +02:00
2023-10-24 16:41:03 +02:00
2023-09-06 19:00:56 +02:00
2019-10-24 17:11:47 +02:00
2023-08-30 14:46:35 +02:00
2024-06-26 15:41:44 +02:00
2024-04-15 15:39:23 +02:00
2024-06-05 16:10:56 +02:00
2024-06-05 16:10:56 +02:00
2023-09-06 19:00:56 +02:00
2024-03-21 18:27:49 +01:00
2022-03-22 15:52:36 +01:00
2023-09-06 19:00:56 +02:00
2022-05-03 18:39:42 +02:00
2023-10-10 10:33:25 +02:00
2021-04-08 17:23:30 +02:00
2023-09-06 19:00:56 +02:00
2023-08-18 14:56:16 +02:00
2023-09-06 19:00:56 +02:00
2023-09-07 19:08:36 +02:00
2019-10-24 17:11:47 +02:00
2023-08-30 14:46:35 +02:00
2022-02-23 19:00:33 +01:00
2023-09-06 19:00:56 +02:00
2021-04-13 13:52:18 +02:00
2024-03-07 12:08:17 +00:00
2024-06-05 16:10:56 +02:00
2021-09-20 20:27:37 +02:00
2024-06-05 16:10:56 +02:00
2023-09-06 19:00:56 +02:00
2023-06-26 19:40:42 +02:00
2023-09-06 19:00:56 +02:00
2023-08-18 14:56:16 +02:00
2019-10-24 17:11:47 +02:00
2024-04-11 20:04:19 +02:00
2023-09-06 19:00:56 +02:00
2021-11-05 16:40:36 +01:00
2023-09-08 13:31:42 +02:00
2023-09-06 19:00:56 +02:00
2020-10-25 14:23:53 +01:00
2022-03-22 15:52:36 +01:00
2023-11-20 14:22:12 +01:00
2023-09-06 19:00:56 +02:00
2019-10-20 15:03:05 +02:00
2023-08-30 14:46:35 +02:00
2023-08-30 14:46:35 +02:00
2023-09-06 19:00:56 +02:00
2024-06-05 16:10:56 +02:00
2023-09-06 19:00:56 +02:00
2023-09-06 19:00:56 +02:00
2023-04-13 16:31:28 +02:00
2024-05-20 16:19:41 +02:00
2022-04-07 15:34:10 +02:00
2021-08-13 04:39:44 +02:00
2022-03-21 20:43:50 +01:00
2024-04-17 15:18:41 +02:00
2020-10-25 14:23:53 +01:00
2024-06-19 18:42:14 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2022-10-18 10:38:59 +02:00
2023-09-06 19:00:56 +02:00