mysociety / ceuk-marking

Other
0 stars 0 forks source link

attempt to reduce duplicate sumissions and hence responses #156

Closed struan closed 4 months ago

struan commented 4 months ago

Given I've not been able to replicate the underlying issue I've essentially taken a best guess approach to what the problem is based on the evidence and written a fix that should resolve that. It's not totally foolproof in that it assumes that the duplicate submissions are identical but I don't understand how they cannot be.

It doesn't throw up an error, just silently throws away the identical data and carries on which I think is fine as then end result will be the same for the user and this way they don't get an error message they can't do anything about.

Fixes #40

struan commented 4 months ago

Hmm, good point. I've pushed a fixup that splits that all out a bit so there are fewer side effects going on.