Javi Martín
24ccf23ed8
Don't save the answer if the voter is not recorded
...
Up until now, we were assuming the voter was valid, but were not raising
an exception if it wasn't. And in the user interface everything seemed
to be working properly.
We were having this issue when skipping verification, when there could
be voters without a document number, which would be considered invalid.
Raising an exception when failing to save the voter and making sure the
answer and the voter are saved inside a transaction solves the problem.
2020-08-07 11:52:24 +02:00
..
2020-03-26 15:07:55 +01:00
2019-09-23 16:51:00 +02:00
2020-08-06 12:38:18 +02:00
2019-11-09 19:34:21 +01:00
2019-10-24 17:11:47 +02:00
2019-11-19 23:32:12 +01:00
2020-07-27 14:32:22 +02:00
2019-11-07 16:26:19 +01:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2020-08-07 11:52:24 +02:00
2019-09-23 18:01:44 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2020-08-06 12:38:18 +02:00
2019-10-24 17:11:47 +02:00
2020-07-08 18:34:58 +02:00
2020-07-14 14:49:39 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-05-31 18:22:59 +02:00
2019-10-05 14:44:14 +02:00
2019-02-15 11:40:39 +01:00
2019-10-24 17:11:47 +02:00
2019-03-27 15:22:14 +01:00
2019-11-07 16:26:19 +01:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-10 02:35:20 +02:00
2019-11-08 19:15:04 +01:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-23 14:39:31 +02:00
2019-10-24 17:11:47 +02:00
2020-04-23 18:49:43 +02:00
2019-10-20 15:03:05 +02:00
2019-10-24 17:11:47 +02:00
2020-04-28 15:45:50 +02:00
2019-10-24 17:11:47 +02:00
2020-04-09 07:11:53 +10:00
2019-10-24 17:11:47 +02:00
2019-05-21 13:50:18 +02:00
2019-05-21 13:50:19 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00